/* Seiglim Login Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a0033 0%, #330066 25%, #4d0080 50%, #660099 75%, #8000b3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.login-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-box {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 192, 203, 0.3);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.lock-icon {
    display: inline-block;
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px rgba(255, 20, 147, 0.4);
}

.lock-icon i {
    color: white;
    font-size: 24px;
}

.login-header h1 {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #ff69b4, #ffc0cb, #ffb6c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-family: 'Georgia', serif;
}

.login-header p {
    color: #ffc0cb;
    font-size: 16px;
    opacity: 0.9;
}

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

.error-message {
    background: rgba(220, 20, 60, 0.2);
    border: 1px solid rgba(220, 20, 60, 0.5);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    color: #ffb6c1;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

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

.input-container {
    position: relative;
}

.input-container input {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid rgba(255, 192, 203, 0.3);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.input-container input:focus {
    outline: none;
    border-color: #ff69b4;
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.4);
    transform: scale(1.02);
}

.input-container label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-container input:focus + label,
.input-container input:valid + label {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #ff69b4;
    background: linear-gradient(135deg, #1a0033, #4d0080);
    padding: 0 8px;
    border-radius: 4px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ff69b4;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    color: #ffc0cb;
    transform: translateY(-50%) scale(1.1);
}

.login-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(45deg, #ff69b4, #ff1493);
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255, 20, 147, 0.4);
    position: relative;
    overflow: hidden;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 20, 147, 0.6);
}

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

.login-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 192, 203, 0.2);
}

.login-footer p {
    color: #dda0dd;
    font-size: 14px;
}

.login-footer code {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    color: #ff69b4;
    font-weight: 600;
}

/* Floating Hearts Animation */
.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.heart {
    position: absolute;
    color: rgba(255, 105, 180, 0.2);
    font-size: 16px;
    animation: float 12s infinite linear;
    animation-delay: var(--delay);
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) rotate(360deg);
        opacity: 0;
    }
}

.heart:nth-child(1) { left: 10%; }
.heart:nth-child(2) { left: 20%; animation-duration: 10s; }
.heart:nth-child(3) { left: 30%; animation-duration: 14s; }
.heart:nth-child(4) { left: 40%; animation-duration: 11s; }
.heart:nth-child(5) { left: 50%; animation-duration: 13s; }
.heart:nth-child(6) { left: 60%; animation-duration: 9s; }
.heart:nth-child(7) { left: 70%; animation-duration: 15s; }
.heart:nth-child(8) { left: 80%; animation-duration: 12s; }
.heart:nth-child(9) { left: 90%; animation-duration: 8s; }
.heart:nth-child(10) { left: 95%; animation-duration: 16s; }

/* Responsive Design */
@media (max-width: 480px) {
    .login-container {
        padding: 15px;
    }
    
    .login-box {
        padding: 30px 25px;
    }
    
    .login-header h1 {
        font-size: 2rem;
    }
    
    .input-container input {
        padding: 12px 45px 12px 12px;
        font-size: 14px;
    }
    
    .login-btn {
        padding: 12px;
        font-size: 16px;
    }
}