* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #2c5530 0%, #1a3d1f 50%, #0f2612 100%);
    height: 100vh;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}

/* Government Header */
.gov-header {
    /*background: #2c5530;*/
    background: rgba(44, 85, 48, 0.8);
    color: white;
    padding: 8px 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1000;
    pointer-events: auto;
}

.gov-header .left {
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
}

.gov-header .left * {
    pointer-events: auto;
}

.gov-flag {
    width: 20px;
    height: 15px;
    background: url('../../assets/images/flag.png') no-repeat center;
    background-size: cover;
    border-radius: 2px;
}

.language-selector {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Background Elements */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}

.map-outline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../../assets/images/login-bg.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.3;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 20px;
    text-align: center;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes buttonGlow {
    from {
        box-shadow: 0 4px 15px rgba(255, 199, 9, 0.3);
    }
    to {
        box-shadow: 0 6px 25px rgba(255, 199, 9, 0.5);
    }
}

.ministry-logo {
    width: 220px;
    height: 220px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInScale 0.6s ease-out;
}

.ministry-logo img {
    width: 220px;
    height: 220px;
    object-fit: contain;
}

.welcome-text {
    color: white;
    margin-bottom: 40px;
}

.welcome-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: slideInFromLeft 0.5s ease-out 0.15s both;
}

.welcome-text h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 0.5s ease-out 0.3s both;
}

.welcome-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.5s ease-out 0.45s both;
}

.login-button {
    background: linear-gradient(135deg, #ffc709 0%, #ffb300 100%);
    color: #FFFFFF;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 199, 9, 0.3);
    animation: fadeInUp 0.5s ease-out 0.6s both, buttonGlow 1s ease-in-out 1s infinite alternate;
}

.login-button:hover {
    background: linear-gradient(135deg, #ffb300 0%, #ffc709 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 199, 9, 0.4);
}

.drug-lookup-button {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #FFFFFF;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    animation: fadeInUp 0.5s ease-out 0.6s both;
}

.drug-lookup-button:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* Footer */
.footer {
    background: white;
    padding: 20px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.footer-section h3 {
    color: #007e3d;
    margin-bottom: 10px;
    font-size: 1rem;
}

.footer-section p, .footer-section a {
    color: #666;
    text-decoration: none;
    line-height: 1.4;
    font-size: 0.85rem;
}

.footer-section a:hover {
    color: #007e3d;
}

.gov-logo-footer {
    /*display: flex;*/
    text-align: center;
    gap: 10px;
    margin-bottom: 10px;
}

.gov-logo-footer img {
    width: 70px;
    height: 70px;
}

.gov-logo-footer .text {
    color: #007e3d;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-text h1 {
        font-size: 1.8rem;
    }

    .welcome-text h2 {
        font-size: 2.2rem;
    }

    .main-content {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Footer */
.footer2 {
    /*background: #2c5530;*/
    padding: 12px 20px;
    background: rgba(44, 85, 48, 0.8);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    text-align: center;
}

.footer-content2 {
    color: white;
    font-size: 14px;
    font-weight: normal;
}

/* Government Info Popup */
.gov-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
}

.gov-popup {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    background: #4a6fa5;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    display: none;
}

.gov-popup-header {
    background: #3d5a91;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gov-popup-header-icon {
    font-size: 14px;
    line-height: 1;
}

.gov-popup-header-text {
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.gov-popup-content {
    padding: 0;
    display: flex;
}

.gov-info-section {
    flex: 1;
    padding: 20px;
    color: white;
}

.gov-info-section:first-child {
    background: #4a6fa5;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.gov-info-section:last-child {
    background: #5a7fb5;
}

.gov-info-icon {
    font-size: 14px;
    line-height: 1;
    margin-bottom: 8px;
}

.gov-info-title {
    color: white;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 6px;
}

.gov-info-text {
    color: white;
    font-size: 11px;
    line-height: 1.3;
}

.gov-domain {
    color: #ffc709;
    font-weight: bold;
}

@media (max-width: 768px) {
    .gov-popup {
        left: 10px;
        right: 10px;
        width: auto;
        max-width: none;
        transform: none;
        top: 50px;
    }

    .gov-popup-content {
        flex-direction: column;
    }
}






