@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

.lecom-container {
    font-family: 'Inter', sans-serif;
    max-width: 900px;
    margin: 20px auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    overflow: hidden;
    color: #2d3436;
}

/* Header */
.stats-header {
    background: linear-gradient(135deg, #003057 0%, #005696 100%);
    padding: 40px 20px;
    text-align: center;
    color: white;
}

.stats-header h2 { margin: 0; font-size: 28px; font-weight: 700; color: #fff !important; }
.stats-header p { margin: 10px 0; opacity: 0.9; }
.badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    text-transform: uppercase;
}

/* Grid Layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 30px;
    background: #f8f9fa;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.stat-card.highlight { border: 2px solid #005696; }
.stat-value { font-size: 32px; font-weight: 700; color: #003057; }
.stat-label { font-size: 14px; color: #636e72; font-weight: 600; }

.progress-bar { height: 6px; background: #dfe6e9; border-radius: 10px; margin-top: 15px; overflow: hidden; }
.progress-fill { height: 100%; background: #00b894; transition: width 1.5s ease-in-out; }

/* Interactive Elements */
.calculator-section { padding: 40px; border-top: 1px solid #eee; }
.input-group { display: flex; gap: 20px; margin-bottom: 25px; }
.input-field { flex: 1; }
.input-field input {
    width: 100%;
    padding: 12px;
    border: 2px solid #edf2f7;
    border-radius: 8px;
    font-size: 16px;
}

.calc-btn {
    width: 100%;
    padding: 15px;
    background: #005696;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.calc-btn:hover { background: #003057; }

.results-hidden { display: none; margin-top: 30px; padding: 20px; border-radius: 10px; background: #f1f2f6; }
.meter-bg { height: 12px; background: #dfe6e9; border-radius: 10px; margin-top: 10px; }
#meter-fill { height: 100%; width: 0%; border-radius: 10px; transition: width 1s ease; }

/* Table */
.profile-details { padding: 0 40px 40px; }
.table-responsive { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 15px; }
th { text-align: left; background: #f8f9fa; padding: 12px; font-size: 13px; }
td { padding: 15px 12px; border-bottom: 1px solid #eee; }

.tag { padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; }
.tag-med { background: #fff3cd; color: #856404; }
.tag-high { background: #f8d7da; color: #721c24; }

@media (max-width: 600px) {
    .input-group { flex-direction: column; }
    .stats-grid { grid-template-columns: 1fr; }
}