/* RESET TAMBAHAN */
* {
    box-sizing: border-box;
}

/* BODY */
body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* CONTAINER */
.container {
    padding: 1rem;
}

/* CARD LOGIN */
.card {
    border: none;
    border-radius: 16px;
    animation: fadeIn 0.6s ease-in-out;
}

.card-title {
    font-weight: 700;
}

/* FORM */
.form-label {
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

/* PASSWORD TOGGLE */
.password-toggle {
    position: absolute;
    right: 12px;
    top: 38px;
    cursor: pointer;
    color: #6c757d;
    font-size: 1.1rem;
}

.password-toggle:hover {
    color: #0d6efd;
}

/* BUTTON */
.btn-primary {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.6rem;
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
    transform: translateY(-1px);
}

/* MODAL */
.modal-content {
    border-radius: 14px;
}

/* RESPONSIVE */
@media (max-width: 576px) {
    .card {
        border-radius: 12px;
    }

    .card-body {
        padding: 1.5rem;
    }

    .card-title {
        font-size: 1.4rem;
    }
}

@media (min-width: 768px) {
    .col-md-4 {
        max-width: 380px;
    }
}

/* ANIMATION */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
