/* Apotika Auth Styles — Feminine Rose Glassmorphism Login */

.login-wrapper {
    min-height: 100vh;
    width: 100vw;
    background: linear-gradient(135deg, #1a0a1e 0%, #2d0a2e 30%, #3b0d40 60%, #1a0620 100%);
    position: relative;
    overflow: hidden;
    padding: 20px;
}

/* Background Bubbles — Rose/Pink tones */
.login-bg-decor {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.20;
    animation: floatBubble 12s infinite alternate ease-in-out;
}

.bubble-1 {
    width: 480px;
    height: 480px;
    background: linear-gradient(135deg, #e11d73, #f472b6);
    top: -140px;
    left: -140px;
}

.bubble-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    bottom: -100px;
    right: -100px;
    animation-delay: -4s;
}

.bubble-3 {
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #f472b6, #c084fc);
    top: 45%;
    right: 12%;
    opacity: 0.12;
    animation-delay: -7s;
}

/* Extra decorative bubble */
.bubble-4 {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #fb7185, #e879f9);
    bottom: 20%;
    left: 8%;
    opacity: 0.10;
    animation-delay: -10s;
}

@keyframes floatBubble {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(40px, 25px) scale(1.08);
    }
}

/* Login Card — Glassmorphism with Rose Tint */
.login-card {
    width: 100%;
    max-width: 440px;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(244, 114, 182, 0.12);
    z-index: 10;
    position: relative;
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(16px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Logo Container — Rose Glow */
.login-logo-container {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, rgba(225, 29, 115, 0.20), rgba(244, 114, 182, 0.15));
    border-radius: 50%;
    border: 1px solid rgba(244, 114, 182, 0.25);
    animation: pulseLogoGlow 3s ease-in-out infinite;
}

@keyframes pulseLogoGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(225, 29, 115, 0.15);
    }
    50% {
        box-shadow: 0 0 25px rgba(225, 29, 115, 0.30);
    }
}

.login-logo-container i {
    color: #f9a8d4 !important;
}

/* Typography */
.login-card .login-title {
    color: #fdf2f8;
    font-size: 1.6rem;
    letter-spacing: -0.025em;
    font-weight: 700;
}

.login-card .login-subtitle {
    color: #c4b5c8;
    font-size: 0.85rem;
}

/* Form Labels */
.login-card .form-label {
    color: #e8c6d4;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Form Inputs — Rose-tinted Glass */
.login-card .form-control {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(244, 114, 182, 0.15) !important;
    color: #fdf2f8 !important;
    font-size: 0.9rem;
    padding: 0.65rem 0.85rem;
    border-radius: 0.6rem;
    transition: all 0.25s ease;
}

.login-card .form-control:focus {
    background-color: rgba(255, 255, 255, 0.10) !important;
    border-color: rgba(225, 29, 115, 0.50) !important;
    box-shadow: 0 0 0 3px rgba(225, 29, 115, 0.20) !important;
    color: #fff !important;
}

.login-card .form-control::placeholder {
    color: rgba(196, 181, 200, 0.55);
}

/* Input Group Addons */
.login-card .input-group-text {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(244, 114, 182, 0.15) !important;
    color: #c4b5c8 !important;
    padding: 0.65rem 0.85rem;
    border-radius: 0.6rem;
}

/* Toggle password button */
.login-card .btn-toggle-pass {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(244, 114, 182, 0.15) !important;
    color: #c4b5c8 !important;
    transition: all 0.25s ease;
    border-radius: 0.6rem;
}

.login-card .btn-toggle-pass:hover {
    color: #f9a8d4 !important;
    background-color: rgba(225, 29, 115, 0.12) !important;
}

/* Login Button — Rose Gradient */
.login-card .btn-login {
    background: linear-gradient(135deg, #e11d73, #be185d);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    letter-spacing: 0.01em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 18px rgba(225, 29, 115, 0.35);
}

.login-card .btn-login:hover {
    background: linear-gradient(135deg, #be185d, #9d174d);
    box-shadow: 0 6px 24px rgba(225, 29, 115, 0.50);
    transform: translateY(-2px);
}

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

.login-card .btn-login:disabled {
    opacity: 0.7;
    transform: none;
}

/* Footer copyright */
.login-card .login-footer {
    color: #7c6883;
    font-size: 0.72rem;
}

/* Alert in glass panel */
.login-card .alert-danger {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
    border-radius: 0.75rem;
}

.login-card .alert-danger .btn-close {
    filter: invert(1) brightness(0.7);
}

/* Invalid feedback */
.login-card .invalid-feedback {
    color: #fca5a5;
}

.login-card .form-control.is-invalid {
    border-color: rgba(239, 68, 68, 0.50) !important;
}

/* Decorative bottom glow line */
.login-card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(225, 29, 115, 0.4), rgba(244, 114, 182, 0.3), transparent);
    border-radius: 999px;
}
