/* Import Google Fonts: Inter (for English), Anek Telugu, Mandali, Sree Krushnadevaraya (for Telugu) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Anek+Telugu:wght@400;700&family=Mandali&family=Sree+Krushnadevaraya&display=swap');

/* General Base Styles */
body {
    margin: 0;
    background: #f8fafc;
    font-family: 'Inter', 'Anek Telugu', 'Mandali', 'Sree Krushnadevaraya', 'Noto Sans Telugu', 'Segoe UI', Arial, sans-serif;
    color: #16202a;
}
a {
    color: #1867b0;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #104072;
    text-decoration: underline;
}

/* Utility class for Telugu text */
.telugu-text {
    font-family: 'Anek Telugu', 'Mandali', 'Sree Krushnadevaraya', 'Noto Sans Telugu', sans-serif !important;
    letter-spacing: 0.5px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 7px;
    background: #e7eef8;
    border-radius: 6px;
}
::-webkit-scrollbar-thumb {
    background: #bad6f8;
    border-radius: 7px;
}

/* Header */
.dash-header {
    background: linear-gradient(105deg, #1867b0 70%, #1c92d2 100%);
    color: #fff;
    padding: 24px 0 18px 0;
    text-align: center;
    border-radius: 0 0 32px 32px;
    position: relative;
    box-shadow: 0 2px 18px #1767b010;
}
.dash-header img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: #e7eef8;
    margin-top: 8px;
    box-shadow: 0 3px 18px #1767b033;
}
.leader-name {
    font-size: 1.45rem;
    font-weight: 600;
    margin: 10px 0 2px 0;
    letter-spacing: 0.5px;
}
.lang-switch {
    position: absolute;
    top: 18px;
    right: 26px;
}
.lang-switch button {
    background: #fff;
    color: #1867b0;
    border: none;
    font-weight: 700;
    border-radius: 20px;
    padding: 6px 20px;
    margin-left: 8px;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 2px 8px #1867b033;
    transition: background 0.2s, color 0.2s;
}
.lang-switch button:hover {
    background: #e4f0fc;
    color: #0c3b6d;
}

/* Dashboard Cards Grid */
.dash-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 24px 10vw 12px 10vw;
}
.card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px #153f7030;
    padding: 26px 22px 20px 22px;
    text-align: center;
    position: relative;
    transition: transform 0.1s;
}
.card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px #1767b033;
}
.card-title {
    font-size: 1.14rem;
    font-weight: 500;
    color: #1867b0;
    margin-bottom: 7px;
    letter-spacing: 0.1px;
}
.big-num {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0 7px 0;
    color: #1867b0;
    letter-spacing: 2px;
    text-shadow: 0 2px 7px #bad6f83b;
}

/* Good Morning Module */
.gm-module {
    background: #fffcf3;
    border-left: 7px solid #ffcd42;
    margin: 22px 10vw;
    border-radius: 18px;
    padding: 16px 20px;
    box-shadow: 0 2px 14px #ffcd4227;
}
.gm-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #c69416;
    letter-spacing: 0.5px;
}
.gm-desc {
    font-size: 1.01rem;
    color: #574e28;
    margin-top: 5px;
}

/* Responsive Styles */
@media (max-width: 1000px) {
    .dash-cards, .gm-module {
        margin: 18px 4vw;
    }
}
@media (max-width: 750px) {
    .dash-cards, .gm-module {
        margin: 14px 2vw;
    }
    .dash-header img {
        width: 62px;
        height: 62px;
    }
    .leader-name {
        font-size: 1.12rem;
    }
    .lang-switch {
        top: 13px;
        right: 10px;
    }
}
@media (max-width: 520px) {
    .dash-header {
        padding: 16px 0 12px 0;
        border-radius: 0 0 22px 22px;
    }
    .card, .gm-module {
        padding: 14px 8px;
        border-radius: 13px;
    }
}

/* Utility */
ul {
    padding-left: 22px;
}
