/* Extraído de myphp/layouts/header_base.php (bloque en línea de la línea 2036).
   Se sirve como archivo para que el navegador lo cachee en vez de
   descargarlo dentro del HTML de cada página. */
        /* Login Modal Styles - Sistema Overlay Custom (igual que user modal) */
        .login-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000000;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .login-modal-overlay.active {
            display: flex !important;
            opacity: 1 !important;
        }

        .login-modal-content {
            background: #ffffff;
            border-radius: 12px;
            width: 100%;
            max-width: 450px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.5);
            overflow: hidden;
            transform: translateY(20px);
            transition: transform 0.3s ease;
            border: 1px solid #ddd;
        }

        .login-modal-overlay.active .login-modal-content {
            transform: translateY(0);
        }

        .login-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 25px;
            background: linear-gradient(135deg, #E30613, #FF4D4D);
            color: white;
        }

        .login-modal-title-header {
            font-size: 1.35rem;
            font-weight: 700;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 12px;
        }


        .login-modal-close {
            background: none;
            border: none;
            color: white;
            font-size: 2rem;
            cursor: pointer;
            padding: 0;
            line-height: 1;
            transition: transform 0.2s;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .login-modal-close:hover {
            transform: rotate(90deg);
        }

        .login-modal-body {
            padding: 30px 25px;
        }

        .login-subtitle {
            color: #666;
            margin-bottom: 24px;
            font-size: 0.95rem;
            text-align: center;
        }

        .login-modal-body .form-group {
            margin-bottom: 18px;
        }

        .login-modal-body .form-control {
            border: 2px solid #e9ecef;
            border-radius: 12px;
            padding: 14px 18px;
            font-size: 15px;
            width: 100%;
            transition: all 0.2s ease;
        }

        .login-modal-body .form-control:focus {
            border-color: #E30613;
            outline: none;
            box-shadow: 0 0 0 0.15rem rgba(227, 6, 19, 0.25);
        }

        .login-modal-body .btn-auth-primary {
            background: #E30613;
            border: none;
            border-radius: 12px;
            padding: 14px 24px;
            font-size: 16px;
            font-weight: 600;
            color: #fff;
            width: 100%;
            transition: all 0.2s ease;
            box-shadow: 0 10px 25px rgba(227, 6, 19, 0.3);
            cursor: pointer;
        }

        .login-modal-body .btn-auth-primary:hover {
            background: #C40510;
            transform: translateY(-1px);
            box-shadow: 0 12px 30px rgba(227, 6, 19, 0.35);
        }

        .login-modal-body .auth-links {
            font-size: 14px;
            text-align: center;
            color: #6c757d;
        }

        .login-modal-body .auth-links a {
            color: #E30613;
            font-weight: 600;
            text-decoration: none;
        }

        .login-modal-body .auth-links a:hover {
            text-decoration: underline;
        }

        .login-modal-body .auth-divider {
            position: relative;
            text-align: center;
            margin: 22px 0 18px;
            color: #adb5bd;
            font-size: 13px;
        }

        .login-modal-body .auth-divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: #e9ecef;
        }

        .login-modal-body .auth-divider span {
            background: #fff;
            padding: 0 12px;
            position: relative;
        }

        .login-modal-body .google-wrapper {
            display: flex;
            justify-content: center;
        }

        @media (max-width: 480px) {
            .login-modal-content {
                max-width: 100%;
                border-radius: 12px 12px 0 0;
                margin-top: auto;
            }
            .login-modal-overlay {
                align-items: flex-end;
                padding: 0;
            }
        }
        
