/* ========== BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #333;
    overflow: hidden;
    position: relative;
}

/* ========== BACKGROUND CIRCLES ========== */
.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    animation: float 15s infinite ease-in-out;
}

.circle-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 250px;
    height: 250px;
    bottom: 5%;
    right: 10%;
    animation-delay: 2.5s;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 70%;
    left: 30%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ========== LOGIN CONTAINER ========== */
.login-container {
    width: 100%;
    padding: 20px;
    max-width: 400px;
    z-index: 10;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    transform: perspective(500px);
    transition: all 0.5s ease;
}

.login-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(500px) translateY(-5px);
}

/* ========== HEADER STYLES ========== */
.login-header {
    margin-bottom: 30px;
}

.login-header i {
    font-size: 3rem;
    color: #4361ee;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(67, 97, 238, 0.2);
}

.login-header h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #2b2d42;
    font-weight: 700;
}

.login-header p {
    color: #8d99ae;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* ========== FORM STYLES ========== */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2b2d42;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(245, 247, 250, 0.8);
}

.form-group input:focus {
    outline: none;
    border-color: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
    background: white;
}

.form-group i {
    position: absolute;
    left: 15px;
    bottom: 13px;
    color: #8d99ae;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus + i {
    color: #4361ee;
}

/* ========== BUTTON STYLES ========== */
.login-btn {
    background-color: #4361ee;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(67, 97, 238, 0.2);
    position: relative;
    overflow: hidden;
}

.login-btn:hover {
    background-color: #3a56d4;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(67, 97, 238, 0.3);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn i {
    margin-right: 8px;
    transition: all 0.3s ease;
}

.login-btn:hover i {
    transform: translateX(3px);
}

/* ========== RESPONSIVE ADJUSTMENTS ========== */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }
    
    .login-header h1 {
        font-size: 1.5rem;
    }
    
    .circle-1, .circle-2, .circle-3 {
        display: none;
    }
}