        :root {
            --gob-red: #691C32;
            --gob-gold: #BC955C;
            --light-gray: #F5F5F5;
            --text-dark: #333;
            --footer-bg: #12322B;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--light-gray);
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        header {
            background-color: #0C231E;
            padding: 15px 0;
            text-align: center;
        }
        header img {
            width: 140px;
            max-width: 80%;
            height: auto;
        }

        .main-container {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            box-sizing: border-box;
        }

        .login-card {
            background: white;
            padding: 30px 20px;
            border-radius: 12px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.05);
            width: 100%;
            max-width: 400px;
            box-sizing: border-box;
        }

        .login-card h3 {
            color: var(--gob-red);
            margin-top: 0;
            font-weight: 600;
            border-left: 4px solid var(--gob-gold);
            padding-left: 15px;
            margin-bottom: 25px;
            font-size: 1.3rem;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            font-size: 14px;
            color: var(--text-dark);
        }

        .form-control {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 6px;
            box-sizing: border-box;
            transition: border 0.3s ease;
            font-size: 16px;
        }

        .form-control:focus {
            outline: none;
            border-color: var(--gob-gold);
        }

        .btn-primary {
            background-color: var(--gob-red);
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 6px;
            cursor: pointer;
            width: 100%;
            font-weight: 600;
            font-size: 16px;
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .btn-primary:hover {
            background-color: #4a1323;
        }

        .privacy-box {
            background-color: #e9f2f5;
            border-radius: 8px;
            padding: 15px;
            margin-top: 25px;
            font-size: 12px;
            color: #31708F;
            line-height: 1.5;
        }

        #loader {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(8px);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .spinner {
            border: 5px solid #f3f3f3;
            border-top: 5px solid var(--gob-red);
            border-right: 5px solid var(--gob-gold);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

        .loader-text {
            margin-top: 15px;
            color: var(--gob-red);
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 1px;
        }

        .error-msg {
            color: #d9534f;
            font-size: 12px;
            margin-top: 5px;
            display: none;
        }

        .main-footer {
            background-color: var(--footer-bg);
            color: white;
            padding: 40px 0 0 0;
            font-size: 14px;
        }
        .main-footer .container {
            max-width: 1140px;
            margin: 0 auto;
            padding: 0 20px;
            box-sizing: border-box;
        }
        .main-footer .row {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
        }
        .main-footer .col-sm-3 {
            flex: 1 1 calc(25% - 30px);
            min-width: 220px;
            box-sizing: border-box;
        }
        .main-footer h5 {
            font-size: 16px;
            margin-top: 0;
            margin-bottom: 15px;
            font-weight: 600;
        }
        .main-footer h5 a {
            color: white;
            text-decoration: none;
        }
        .main-footer ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .main-footer ul li {
            margin-bottom: 10px;
        }
        .main-footer ul li a {
            color: white;
            text-decoration: none;
            font-weight: 300;
            opacity: 0.8;
        }
        .main-footer ul li a:hover {
            text-decoration: underline;
            opacity: 1;
        }
        .logo_footer {
            margin-bottom: 10px;
            width: 150px;
            max-width: 100%;
        }
        .footer-pleca {
            background-color: #12322B;
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 30px;
            height: 20px;
        }

        @media (max-width: 768px) {
            .main-footer .col-sm-3 {
                flex: 1 1 100%;
                text-align: center;
            }
            .main-footer .row {
                gap: 35px;
            }
            .login-card {
                padding: 30px 20px;
            }
        }