﻿
:root {
    --primary: #003366;
    --accent: #ff9933;
    --white: #ffffff;
    /* Gradients for different roles */
    --grad-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Blue-Purple */
    --grad-2: linear-gradient(135deg, #2af598 0%, #009efd 100%); /* Green-Blue */
    --grad-3: linear-gradient(135deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%); /* Pink-Soft */
    --grad-4: linear-gradient(135deg, #f6d365 0%, #fda085 100%); /* Yellow-Orange */
    --grad-5: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); /* Sky Blue */
}

@font-face {
    font-family: myFont;
    src: url(../../Admin/fonts/EkMukta-Regular.ttf);
    /*font-weight: bold;*/
}

body {
    font-family: myFont !important;
    margin: 0;
    background-color: #009efd33;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Header */
.top-header {
    background: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    border-bottom: 4px solid var(--accent);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-left, .header-right {
    display: flex;
    align-items: center;
}

.header-center {
    text-align: center;
    flex-grow: 1;
}

.logo-img {
    height: 70px;
    width: auto;
}

.header-center h2 {
    margin: 0;
    color: var(--primary);
    font-size: 20px;
}

.header-center p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #444;
    font-weight: bold;
}

/* Selection Section */
.login-row-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.instruction-text {
    margin-bottom: 40px;
    font-size: 20px;
    color: var(--primary);
    font-weight: bold;
    background: #fff;
    padding: 10px 30px;
    text-align: center;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.login-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    max-width: 1400px;
    width: 100%;
    justify-content: center;
}

.login-item {
    flex: 1;
    min-width: 200px;
    padding: 30px 15px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
    color: white; /* Text white for gradient contrast */
    border: none;
    position: relative;
    overflow: hidden;
}

    .login-item:hover {
        transform: translateY(-15px) scale(1.05);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }

/* News Ticker Row */
.news-section {
    background: #fff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    height: 40px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.news-label {
    background: #d32f2f;
    color: white;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    z-index: 2;
    position: relative;
}

    .news-label::after {
        content: "";
        position: absolute;
        right: -15px;
        border-top: 20px solid transparent;
        border-bottom: 20px solid transparent;
        border-left: 15px solid #d32f2f;
    }

.news-marquee {
    flex: 1;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}
/* Mobile View */
@media (max-width: 768px) {
    .header-center p {
        font-size: 12px;
    }

    .login-row-container {
        padding: 40px 10px;
    }

    .top-header {
        padding: 10px 10px;
    }

    .header-center h2 {
        font-size: 15px;
    }
}

/* Small Mobile View */
@media (max-width: 480px) {
    .login-row-container {
        padding: 40px 10px;
    }

    .header-center p {
        font-size: 12px;
    }

    .top-header {
        padding: 10px 10px;
    }

    .header-center h2 {
        font-size: 15px;
    }
}

/* Unique Gradients for each card */
.op-grad {
    background: var(--grad-1);
}

.gp-grad {
    background: var(--grad-2);
}

.bdo-grad {
    background: var(--grad-3);
    color: #333;
}
/* Lighter text for light gradient */
.ceo-grad {
    background: var(--grad-4);
    color: #333;
}

.state-grad {
    background: var(--grad-5);
    color: #333;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 35px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.login-item h3 {
    font-size: 17px;
    margin: 10px 0 5px;
    /*text-shadow: 0 2px 4px rgba(0,0,0,0.2);*/
}

.login-item span {
    font-size: 12px;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
}

/* Footer */
footer {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 15px;
    font-size: 13px;
    font-weight: bold;
    border-top: 1px solid #ddd;
    position:fixed;
    width:100%;
    bottom:0;
}

/* Responsive */
@media (max-width: 1200px) {
    .login-row {
        flex-wrap: wrap;
    }

    .login-item {
        min-width: 250px;
        flex: none;
    }
}
