/* ====== Global Style ====== */
body {
    background: linear-gradient(135deg, #1e90ff, #00bfff);
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====== Login Card ====== */
.login-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: #ffffff;
    animation: fadeIn 0.8s ease-in-out;
}

.login-header {
    background: linear-gradient(135deg, #007bff, #00bfff);
    color: white;
    text-align: center;
    padding: 30px 20px;
    border-bottom-left-radius: 50% 20%;
    border-bottom-right-radius: 50% 20%;
}

.login-header i {
    color: #fff;
}

.login-header h3 {
    font-weight: 700;
    margin-top: 10px;
}

.login-header p {
    font-size: 0.9rem;
}

/* ====== Form Style ====== */
.form-label {
    color: #333;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.3);
}

.input-group-text {
    background-color: transparent;
    border-left: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
}

.toggle-password {
    background: #fff;
    border-left: none;
    transition: 0.3s ease;
}

.toggle-password:hover {
    background: #f1f1f1;
}

/* ====== Button Style ====== */
.btn-login {
    border-radius: 10px;
    background: linear-gradient(135deg, #007bff, #00bfff);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: linear-gradient(135deg, #0069d9, #0091ea);
    transform: scale(1.03);
}

/* ====== Alert Style ====== */
.alert {
    border-radius: 10px;
    font-size: 0.9rem;
}

/* ====== Register Link ====== */
.register-link {
    text-align: center;
    margin-top: 20px;
}

.register-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
    .login-card {
        margin-top: 30px;
    }
    .login-header {
        padding: 25px 15px;
    }
}

/* ====== Animation ====== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
