/* =====================================================
   ROOT
   ===================================================== */
:root {
    --footer-height: 50px;
    --primary: #e63946;
    --primary-dark: #c92c3c;
    --card-bg: rgba(255, 255, 255, 0.96);
    --text-dark: #1f1f1f;
    --muted: #6b6b6b;
    --border: #dcdcdc;
}


html,
body {
    height: 100%;
    margin: 0;
    font-family: 'Work Sans', sans-serif;
    background: url("../images/background.webp") no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

/* =====================================================
   FOOTER
   ===================================================== */
/* footer {
    position: fixed;
    bottom: 0;
    left: 0;
    height: var(--footer-height);
    width: 100%;
    padding: 0 16px;
    background: rgba(243, 239, 239, 0.85);
    display: flex;
    align-items: center;
    font-size: 13px;
    z-index: 1000;
} */

/* =====================================================
   MAIN CONTAINER
   ===================================================== */
.container-fluid {
    height: calc(100vh - var(--footer-height));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6%;
}

/* =====================================================
   LOGIN CARD WRAPPER
   ===================================================== */
.form-section {
    width: 100%;
    max-width: 420px;
}

/* =====================================================
   LOGIN CARD
   ===================================================== */
.form-box {
    background: var(--card-bg);
    padding: 36px;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* =====================================================
   LOGOS
   ===================================================== */
.logo,
.logo2 {
    text-align: center;
}

.logo img {
    max-width: 130px;
    margin-bottom: 6px;
}

.logo2 img {
    max-width: 190px;
    margin-bottom: 22px;
}

/* =====================================================
   TEXT
   ===================================================== */
.form-title {
    text-align: center;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 22px;
    color: var(--text-dark);
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 6px;
}

/* =====================================================
   ✨ PREMIUM INPUTS
   ===================================================== */
.form-control {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    transition: 0.25s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.2);
    outline: none;
}

.form-control::placeholder {
    color: #b0b0b0;
}

/* =====================================================
   BUTTON
   ===================================================== */
.btn-custom {
    margin-top: 10px;
    width: 100%;
    height: 46px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.btn-custom:hover {
    filter: brightness(1.05);
}

/* =====================================================
   MESSAGES
   ===================================================== */
.messages p {
    font-size: 13px;
    color: #dc3545;
    text-align: center;
    margin-bottom: 10px;
}


footer {
    position: fixed;
    bottom: 0;
    left: 0;
    height: var(--footer-height);
    width: 100%;
    padding: 0 16px;
    background: rgba(243, 239, 239, 0.85);
    display: flex;
    align-items: center;
    font-size: 13px;
    z-index: 1000;
    overflow: hidden;
}

/* Left side text */
footer .copyright {
    margin: 0;
    white-space: nowrap;
}

/* Scrolling container */
.scrolling-text {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    margin-left: 20px;
}

/* Animated text */
.scrolling-text span {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 15s linear infinite;
}

/* Animation */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}


/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 992px) {
    .container-fluid {
        justify-content: center;
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .form-box {
        padding: 26px;
    }

    .form-title {
        font-size: 22px;
    }
}

@media (max-height: 520px) {
    .container-fluid {
        align-items: flex-start;
        padding-top: 12px;
    }
}
