:root {
            --primary-color: #2c3e50;
            --secondary-color: #3f5082;
            --accent-color: #36b9cc;
            --light-bg: #e2e9ff;
            --dark-text: #5a5c69;
        }
        
        body {
            background: rgb(255, 255, 255);/*linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);*/
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        .login-container {
            background-color: rgb(255, 255, 255);
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            width: 100%;
            max-width: 400px;
            overflow: hidden;
        }
        
        .login-header {
            background: var(--primary-color);
            color: white;
            padding: 20px;
            text-align: center;
        }
        
        .login-header h3 {
            margin: 0;
            font-weight: 600;
        }
        
        .login-body {
            padding: 30px;
        }
        
        .welcome-text {
            text-align: center;
            color: var(--dark-text);
            margin-bottom: 25px;
            font-size: 14px;
        }
        
        .form-control {
            padding: 12px 15px;
            border-radius: 5px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            transition: all 0.3s;
        }
        
        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
        }
        
        .input-group-text {
            background-color: white;
            border-right: 0;
            height: 50px;
        }
        
        .form-control:focus + .input-group-text {
            border-color: var(--primary-color);
        }
        
        .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }
        
        .btn-login {
            background-color: var(--primary-color);
            border: none;
            padding: 12px;
            font-weight: 600;
            transition: all 0.3s;
        }
        
        .btn-login:hover {
            background-color: var(--secondary-color);
        }
        
        .login-links {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            font-size: 14px;
        }
        
        .login-links a {
            color: var(--primary-color);
            text-decoration: none;
        }
        
        .login-links a:hover {
            text-decoration: underline;
        }
        
        .brand {
            text-align: center;
            margin-top: 20px;
            font-weight: bold;
            color: var(--primary-color);
            letter-spacing: 1px;
        }
        
        .alert-info {
            font-size: 13px;
            padding: 10px;
            margin-bottom: 20px;
        }

         /* Estilos para las alertas personalizadas en la parte superior */
        .custom-alert-container {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            z-index: 9999;
            width: 90%;
            max-width: 500px;
        }
        
        .custom-alert {
            border-radius: 8px;
            padding: 15px 20px;
            margin-bottom: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            display: flex;
            align-items: center;
            animation: slideInDown 0.5s ease-out;
        }
        
        .custom-alert-error {
            background-color: #f8d7da;
            color: #721c24;
            border-left: 5px solid #dc3545;
        }
        
        .custom-alert-warning {
            background-color: #fff3cd;
            color: #856404;
            border-left: 5px solid #ffc107;
        }
        
        .custom-alert-icon {
            font-size: 24px;
            margin-right: 15px;
        }
        
        .custom-alert-content {
            flex: 1;
        }
        
        .custom-alert-close {
            background: none;
            border: none;
            font-size: 18px;
            cursor: pointer;
            color: inherit;
            opacity: 0.7;
        }
        
        .custom-alert-close:hover {
            opacity: 1;
        }
        
        @keyframes slideInDown {
            from {
                transform: translate3d(0, -100%, 0);
                opacity: 0;
            }
            to {
                transform: translate3d(0, 0, 0);
                opacity: 1;
            }
        }
        
        .alert-hidden {
            animation: slideOutUp 0.5s ease-out;
            opacity: 0;
        }
        
        @keyframes slideOutUp {
            from {
                transform: translate3d(0, 0, 0);
                opacity: 1;
            }
            to {
                transform: translate3d(0, -100%, 0);
                opacity: 0;
            }
        }