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

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #1b3e92;
    color: #000;
    min-height: 100vh;
}

/* Colors */
:root {
    --blue-bg: #1b3e92;
    --red-bar: #cd1619;
    --yellow-btn: #ffba00;
    --white: #ffffff;
    --text-dark: #000000;
}

/* Base Styles & Utilities */
.text-center {
    text-align: center;
}

.font-bold {
    font-weight: bold;
}

.mb-20 {
    margin-bottom: 20px;
}

.p-40 {
    padding: 40px;
}

/* Responsive Grid System */
.grid-layout {
    display: grid;
    gap: 40px;
    background-color: #fff;
    border: 2px solid #000;
    padding: 30px;
    margin-bottom: 30px;
}

.cols-280-auto {
    grid-template-columns: 280px 1fr;
}

.cols-200-auto {
    grid-template-columns: 200px 1fr;
}

.cols-equal {
    grid-template-columns: 1fr 1fr;
}

.cols-auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .mobile-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
        margin: 0 !important;
    }

    .mobile-logo-img {
        height: 80px !important;
        max-width: 100% !important;
        width: auto !important;
    }

    h1,
    h2 {
        font-size: 20px !important;
        text-align: center !important;
        word-wrap: break-word;
        /* Prevent overflow on long words */
    }

    h3 {
        font-size: 18px !important;
    }

    input,
    button {
        width: 100% !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
        /* Ensure padding doesn't widen element */
    }

    /* Force Grids to stack vertically on mobile */
    .grid-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 15px !important;
        border-width: 1px !important;
        /* Thinner border for mobile */
    }

    /* Adjust padding in sections */
    .p-40 {
        padding: 20px !important;
    }
}

/* PDF Modal and Close Button */
.custom-circle-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background-color: #dc2626 !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 9999 !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
    transition: transform 0.1s, background-color 0.2s !important;
}

.custom-circle-btn:hover {
    background-color: #b91c1c !important;
    transform: scale(1.05);
}

.responsive-modal-container {
    position: relative;
    background-color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .responsive-modal-container {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        border-radius: 0 !important;
    }
}

/* Login Container Specifics */
.login-container {
    background-color: #ffffff;
    padding: 60px 80px;
    max-width: 800px;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .login-container {
        padding: 30px 20px !important;
    }
}