/* ========================================
   PALETA DE COLORES VEHITOTAL.COM
   ======================================== */
:root {
    /* Colores principales */
    --vehitotal-orange: #F5822C;
    --vehitotal-dark: #363636;
    --vehitotal-gray: #626262;
    --vehitotal-gray-light: #999999;
    --vehitotal-gray-border: #e3e3e3;
    --vehitotal-gray-bg: #f6f6f6;
    --vehitotal-white: #ffffff;
    --vehitotal-black: #323232;
    
    /* Gradientes */
    --gradient-bg: linear-gradient(135deg, #667B95 0%, #4A5A6F 100%);
    --gradient-orange: linear-gradient(135deg, #FF7B52 0%, #F5822C 100%);
    --gradient-blue: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    
    /* Sombras */
    --shadow-card: 0 20px 60px rgba(0,0,0,0.3);
    --shadow-button: 0 4px 12px rgba(245, 130, 44, 0.3);
    --shadow-button-hover: 0 6px 20px rgba(245, 130, 44, 0.4);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--gradient-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    color: var(--vehitotal-dark);
}

.login-card {
    background: var(--vehitotal-white);
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    width: 100%;
    max-width: 420px;
    padding: 48px 40px;
    text-align: center;
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

/* Logo real de VehiTotal */
.logo-image {
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
}

.logo-star {
    color: var(--vehitotal-orange);
    font-size: 32px;
    font-weight: bold;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-vehi {
    color: var(--vehitotal-orange);
}

.logo-total {
    color: var(--vehitotal-dark);
}

.logo-subtitle {
    color: var(--vehitotal-orange);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: -5px;
}

.title {
    font-size: 20px;
    font-weight: 700;
    color: var(--vehitotal-dark);
    margin: 25px 0 8px;
}

.subtitle {
    font-size: 13px;
    color: var(--vehitotal-gray);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.corporate-text {
    background: linear-gradient(135deg, #FFF4E6 0%, #FFE8CC 100%);
    border-left: 4px solid var(--vehitotal-orange);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 25px;
    text-align: left;
}

.corporate-text p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--vehitotal-dark);
    margin: 0;
}

.corporate-text strong {
    color: var(--vehitotal-orange);
    font-weight: 700;
}

.powered-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F0F4F8;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 25px;
    font-size: 12px;
}

.powered-badge .star {
    color: var(--vehitotal-orange);
    font-size: 16px;
}

.powered-badge .text {
    color: var(--vehitotal-dark);
    font-weight: 600;
}

.powered-badge .number {
    background: var(--gradient-blue);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.loading-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E0E7EF;
}

.dot.active {
    background: #4A90E2;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--vehitotal-dark);
}

.form-label::before {
    content: "👤";
    font-size: 16px;
}

input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--vehitotal-gray-border);
    border-radius: 10px;
    background: #F8FAFB;
    color: var(--vehitotal-dark);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: var(--vehitotal-orange);
    background: var(--vehitotal-white);
    box-shadow: 0 0 0 3px rgba(245, 130, 44, 0.1);
}

input[type="email"]::placeholder {
    color: #B0BEC5;
}

.btn-submit {
    width: 100%;
    padding: 14px 20px;
    background: var(--gradient-orange);
    color: var(--vehitotal-white);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: var(--shadow-button);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-button-hover);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit::after {
    content: "→";
    font-size: 18px;
}


.error {
    background: #FFF0F0;
    color: #E74C3C;
    font-size: 13px;
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid #E74C3C;
    display: none;
    animation: slideIn 0.3s ease;
}

.error.show {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--vehitotal-gray-border);
    font-size: 11px;
    color: #B0BEC5;
    line-height: 1.6;
}

.footer-copyright {
    margin-bottom: 6px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.footer-links::before {
    content: "📝";
    font-size: 12px;
}

.footer-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-tagline::before {
    content: "🔒";
    font-size: 12px;
}

@media (max-width: 480px) {
    .login-card {
        padding: 36px 28px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .logo-image {
        max-width: 150px;
    }
    
    .title {
        font-size: 18px;
    }
}


.login-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 420px;
    padding: 48px 40px;
    text-align: center;
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.logo-star {
    color: #FF6B35;
    font-size: 32px;
    font-weight: bold;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-vehi {
    color: #FF6B35;
}

.logo-total {
    color: #2C3E50;
}

.logo-subtitle {
    color: #FF6B35;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: -5px;
}

.title {
    font-size: 20px;
    font-weight: 700;
    color: #2C3E50;
    margin: 25px 0 8px;
}

.subtitle {
    font-size: 13px;
    color: #7F8C9A;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.subtitle::before {
    content: "📊";
    font-size: 14px;
}

.powered-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #F0F4F8;
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 25px;
    font-size: 12px;
}

.powered-badge .star {
    color: #FF6B35;
    font-size: 16px;
}

.powered-badge .text {
    color: #2C3E50;
    font-weight: 600;
}

.powered-badge .number {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 700;
}

.loading-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 30px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #E0E7EF;
}

.dot.active {
    background: #4A90E2;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #2C3E50;
}

.form-label::before {
    content: "👤";
    font-size: 16px;
}

input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E0E7EF;
    border-radius: 10px;
    background: #F8FAFB;
    color: #2C3E50;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

input[type="email"]:focus {
    outline: none;
    border-color: #4A90E2;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

input[type="email"]::placeholder {
    color: #B0BEC5;
}

.btn-submit {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #FF7B52 0%, #FF6B35 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-submit::after {
    content: "→";
    font-size: 18px;
}

.forgot-password {
    margin-top: 16px;
    text-align: center;
}

.forgot-password a {
    color: #4A90E2;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.forgot-password a::before {
    content: "🔑";
    font-size: 14px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.theme-toggle {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #E0E7EF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #7F8C9A;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.theme-option.active {
    background: #FFF4E6;
    color: #FF6B35;
    font-weight: 600;
}

.theme-option:hover:not(.active) {
    background: #F8FAFB;
}

.error {
    background: #FFF0F0;
    color: #E74C3C;
    font-size: 13px;
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid #E74C3C;
    display: none;
    animation: slideIn 0.3s ease;
}

.error.show {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #E0E7EF;
    font-size: 11px;
    color: #B0BEC5;
    line-height: 1.6;
}

.footer-copyright {
    margin-bottom: 6px;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
}

.footer-links::before {
    content: "📝";
    font-size: 12px;
}

.footer-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.footer-tagline::before {
    content: "🔒";
    font-size: 12px;
}

@media (max-width: 480px) {
    .login-card {
        padding: 36px 28px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .title {
        font-size: 18px;
    }
}

