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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0f14;
    color: #fff;
    min-height: 100vh;
    display: flex;
}

/* Left Side - Animated Background */
.left-side {
    flex: 1;
    background: linear-gradient(135deg, #0a2f1f 0%, #0d3b27 50%, #0a2f1f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.animated-logos {
    position: relative;
    width: 500px;
    height: 500px;
}

.logo-bubble {
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.logo-bubble img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.logo-bubble:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.logo-bubble:nth-child(2) {
    top: 10%;
    right: 15%;
    animation-delay: 1s;
    width: 100px;
    height: 100px;
}

.logo-bubble:nth-child(3) {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
    width: 140px;
    height: 140px;
}

.logo-bubble:nth-child(4) {
    bottom: 20%;
    right: 10%;
    animation-delay: 1.5s;
    width: 110px;
    height: 110px;
}

.logo-bubble:nth-child(5) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    animation-delay: 0.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(3deg);
    }
}

/* Right Side - Login Form */
.right-side {
    flex: 1;
    background: #1a1f2e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
}

.login-header {
    margin-bottom: 50px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.brand-logo {
    width: 50px;
    height: 50px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #10b981;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.login-subtitle {
    color: #9ca3af;
    font-size: 1.1rem;
}

.login-form {
    width: 100%;
    max-width: 450px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    color: #9ca3af;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
}

input {
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(75, 85, 99, 0.5);
    color: #fff;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

input::placeholder {
    color: #6b7280;
}

input:focus {
    outline: none;
    border-color: #10b981;
    background: rgba(15, 23, 42, 1);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: #10b981;
}

.forgot-password {
    text-align: right;
    margin-bottom: 25px;
}

.forgot-password a {
    color: #10b981;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.forgot-password a:hover {
    color: #059669;
}

.btn-login {
    width: 100%;
    background: #10b981;
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-login:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #6b7280;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(75, 85, 99, 0.5);
}

.divider span {
    padding: 0 15px;
    font-size: 0.9rem;
}

.create-account {
    text-align: center;
    margin-top: 30px;
}

.create-account p {
    color: #9ca3af;
    margin-bottom: 10px;
}

.btn-create {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.btn-create:hover {
    color: #059669;
}

@media (max-width: 1024px) {
    .left-side {
        display: none;
    }

    .right-side {
        flex: 1;
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .right-side {
        padding: 30px 20px;
    }

    .login-title {
        font-size: 1.75rem;
    }

    .login-subtitle {
        font-size: 1rem;
    }
}











/* Alerta de error */
.alert-error {
    margin-top: 20px;
    padding: 15px 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideDown 0.3s ease;
}

.alert-error i {
    font-size: 20px;
    color: #ef4444;
    flex-shrink: 0;
}

.alert-error span {
    color: #ef4444;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

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