    /* Word Counter Specific Styles */
 /*   .word-counter-container {
        max-width: 900px;
    }
   */ 
    .text-input-area {
        margin-bottom: 2rem;
    }
    
    #textInput {
        width: 100%;
        min-height: 200px;
        padding: 1.5rem;
/*
        border: 2px solid #e2e8f0;
        border-radius: 12px;
*/
        /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
        font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
        font-size: 1rem;
        line-height: 1.6;
        resize: vertical;
        transition: all 0.3s ease;
    }
/*    
    #textInput:focus {
        outline: none;
        border-color: #4299e1;
        box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
    }
  */  
    .input-actions {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
        flex-wrap: wrap;
    }
    
    .results-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
        margin: 2.5rem 0;
    }
    
    .result-card {
        background:linear-gradient(180deg,#0e1433,#0c122b);
        /*border-radius: 12px;*/
        padding: 1.5rem;
        text-align: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        /*border: 1px solid #e2e8f0;*/
        border-radius:14px; border:1px solid #263056;
        transition: transform 0.2s ease;
    }
    
    .result-card:hover {
        transform: translateY(-4px);
    }
    
    .result-card h3 {
        margin: 0 0 0.5rem 0;
        font-size: 1.1rem;
        /*color: #4a5568;*/
        color: #4299e1;
        font-weight: 600;
    }
    
    .result-value {
        font-size: 2.5rem;
        font-weight: 700;
        /*color: #4299e1;*/
        color: white;
        margin: 0.5rem 0;
    }
    
    .result-desc {
        font-size: 0.9rem;
        color: #718096;
        /* color: white;*/
        margin: 0;
    }
    
    .platform-limits {
        background:linear-gradient(180deg,#0e1433,#0c122b);
        border-radius:14px; border:1px solid #263056;
        padding: 2rem;
        margin: 2.5rem 0;
        /*border: 1px solid #e2e8f0;*/
    }
    
    .limit-cards {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .limit-card {
        background: linear-gradient(180deg,#0e1433,#0c122b);
        padding: 1rem;
        border-radius: 8px;
        border-left: 4px solid #4299e1;
        border-radius:14px; border:1px solid #263056;
    }
    
    .limit-card {
        border-radius: 8px;
        border-left: 4px solid #4299e1;
    }
    
    .limit-card.exceeded {
        /*border-left-color: #fc8181;*/
        border-radius: 8px;
        border-left: 4px solid #fc8181;
    }    
    .limit-message.exceeded {
        /*border-left-color: #fc8181;*/
        color: #fc8181;
    }
    
    .limit-card h4 {
        margin: 0 0 0.5rem 0;
        font-size: 0.95rem;
        /*color: #4a5568;*/
        color: #4299e1;
    }
    
    .limit-card small {    
        color: #718096;
    }
    .limit-stats {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .limit-count {
        font-weight: 600;
        font-size: 1.2rem;
    }
    
    .limit-count.exceeded {
        color: #fc8181;
    }
    
    .limit-total {
        color: #718096;
        font-size: 0.9rem;
    }
    
    @media (max-width: 768px) {
        .results-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .result-value {
            font-size: 2rem;
        }
        
        .input-actions {
            flex-direction: column;
        }
    }
    
    @media (max-width: 480px) {
        .results-grid {
            grid-template-columns: 1fr;
        }
    }
    
    .kd-good {
  color: #48bb78; /* green */
}

.kd-warning {
  color: #f6ad55; /* orange */
}

.kd-bad {
  color: #f56565; /* red */
}
.density-low { color: #48bb78; }      /* green */
.density-medium { color: #f6ad55; }   /* orange */
.density-high { color: #f56565; }     /* red */
