* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #fff4e6 0%, #fef9f3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.15);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    min-height: 600px;
    display: flex;
    position: relative;
    border: 2px solid #ff6b35;
}

/* Sección izquierda - Formulario */
.login-section {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: white;
    position: relative;
}

.logo-section {
    position: absolute;
    align-items: center;
    justify-content: center;
    top: 40px;
    text-align: center;
    color: white;
    font-weight: bold;
}

.empresa-badge {
    position: absolute;
    top: 40px;
    right: 60px;
    background: linear-gradient(135deg, #ff6b35, #ff874a);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.welcome-text {
    margin-bottom: 40px;
    margin-top: 40px;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.welcome-text h2 {
    font-size: 32px;
    color: #002749;
    margin-top: 30px;
    margin-bottom: 10px;
    align-items: center;
    gap: 10px;
}

.info-box {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 135, 74, 0.1));
    color: #002749;
    padding: 12px 16px;
    border-left: 4px solid #ff6b35;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 10px;
    border: 1px solid rgba(255, 107, 53, 0.2);
}

/* Formulario */
.form-group {
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(255, 107, 53, 0.1);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(255, 107, 53, 0.1);
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b35;
    background: #fff8f5;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group input::placeholder {
    color: #9e9e9e;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9e9e9e;
    font-size: 16px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    padding-left: 50px;
}

.soporte {
    text-align: center;
    margin-top: 20px;
}

.soporte p {
    color: #625f5f;
    font-size: 0.9rem;
    margin-bottom: 5px;
    margin-top: 10px;
}

.btn-soporte {
    margin-top: 8px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 135, 74, 0.1));
    color: #002749;
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-soporte:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 135, 74, 0.2));
    border-color: rgba(255, 107, 53, 0.5);
    color: #002749;
    text-decoration: none;
    transform: translateY(-2px);
}

.sign-in-btn {
    width: 80%;
    padding: 12px;
    background: linear-gradient(135deg, #ff6b35, #ff874a);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.sign-in-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #ff6b35);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Sección derecha - Ilustración */
.illustration-section {
    flex: 1;
    background: linear-gradient(135deg, #002749, #001a33);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    overflow: hidden;
}

.illustration-content {
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.illustration-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #ff6b35;
}

.illustration-content p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 30px;
    margin-left: 30px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

/* Curva orgánica */
.illustration-section::before {
    content: '';
    position: absolute;
    left: -50px;
    top: 0;
    width: 100px;
    height: 100%;
    background: white;
    border-radius: 0 50% 50% 0;
    z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .login-container {
        max-width: 700px;
        min-height: auto;
    }

    .login-section {
        padding: 40px 20px;
    }

    .illustration-section {
        padding: 40px 20px;
    }

    .welcome-text h2 {
        font-size: 28px;
    }

    .illustration-content h3 {
        font-size: 24px;
    }

    .illustration-content p {
        font-size: 13px;
        margin-left: 15px;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        max-width: 90%;
        border-radius: 15px;
    }

    .login-section {
        padding: 30px 20px;
    }

    .logo-section {
        position: static;
        margin-bottom: 20px;
        display: inline-block;
    }

    .empresa-badge {
        display: none;
    }

    .illustration-section {
        padding: 30px 20px;
        min-height: 250px;
    }

    .illustration-section::before {
        display: none;
    }

    .welcome-text h2 {
        font-size: 24px;
    }

    .illustration-content h3 {
        font-size: 20px;
    }

    .illustration-content p {
        font-size: 12px;
        margin-left: 10px;
    }

    .sign-in-btn {
        width: 100%;
    }

    .illustration-placeholder img {
        max-width: 70%;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .login-container {
        max-width: 100%;
        padding: 10px;
    }

    .login-section {
        padding: 20px 15px;
    }

    .welcome-text h2 {
        font-size: 20px;
    }

    .form-group input {
        padding: 12px 15px;
        font-size: 13px;
    }

    .form-group i {
        font-size: 14px;
    }

    .info-box {
        font-size: 11px;
        padding: 10px 12px;
    }

    .sign-in-btn {
        font-size: 13px;
        padding: 10px;
    }

    .soporte p {
        font-size: 0.8rem;
    }

    .btn-soporte {
        font-size: 12px;
        padding: 6px 12px;
    }

    .illustration-section {
        padding: 20px 15px;
        min-height: 200px;
    }

    .illustration-content h3 {
        font-size: 18px;
    }

    .illustration-content p {
        font-size: 11px;
        margin-left: 0;
    }

    .illustration-placeholder img {
        max-width: 60%;
    }
}

.swal2-popup {
    border-radius: 50px !important;
    font-family: 'Poppins', sans-serif;
    padding-bottom: 30px;
}

.swal2-title {
    font-weight: 800;
}

.swal2-confirm {
    width: 150px;
    border-radius: 10px !important;
}

.swal2-loader {
    width: 90px !important;
    height: 80px !important;
    border: 10px;
    border-right: 8px solid #27ae60;
    border-left: 7px solid #1e4d3b;
    border-radius: 50%;
    animation: spin 1.3s ease-in-out infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}