﻿/* ----- GLOBAL SETTINGS ----- */
.card {
    border: none;
    border-radius: 12px;
    transition: all .3s ease;
    animation: fadeIn .8s ease-out;
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    }

.card-header {
    border-top-left-radius: 12px !important;
    border-top-right-radius: 12px !important;
}

.card-footer {
    border-bottom-left-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
}

/* ----- FORM ELEMENTS ----- */
.form-control {
    background-color: transparent;
    border-radius: 8px;
    border: 1px solid #ccd4e0;
    padding: 10px 12px;
    transition: all .25s ease;
}

    .form-control:focus {
        background-color:transparent;
        border-color: transparent;
        box-shadow: 0 0 0 4px rgba(78, 115, 223, .15);
    }

.btn-primary {
    background-color: #4e73df;
    border-color: #4e73df;
    font-weight: 600;
}

    .btn-primary:hover {
        background-color: #3b5bcc;
        border-color: #3b5bcc;
    }

    .btn-primary:active {
        transform: scale(.98);
    }

/* ----- VALIDATION ----- */
.text-danger {
    font-size: .85rem;
}

/* ----- ANIMATIONS ----- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----- CARD CENTERING (OPTIONAL) ----- */
.login-container {
    margin-top: 5rem;
}

@media (max-width: 768px) {
    .login-container {
        margin-top: 3rem;
    }
}
