﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'QuicksandRegular';
    src: url('/fonts/Quicksand-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'QuicksandBold';
    src: url('/fonts/Quicksand-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

.quick {
    font-family: 'QuicksandRegular' !important;
    src: url('/fonts/Quicksand-Regular.ttf') format('truetype');
}

.quicksand {
    font-family: 'QuicksandRegular';
}

.quicksand-bold {
    font-family: 'QuicksandBold';
    font-weight: 700;
}


body {
     font-family: 'QuicksandRegular' !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ── Full Background Image ── */
.bg-cover {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-image: url('/images/background.png');
    background-size: cover;
    background-position: center;
}
    /* Dark overlay so card is readable */
    .bg-cover::after {
        content: '';
        position: absolute;
        inset: 0;
        /*background: linear-gradient(135deg,rgba(20,10,0,.72) 0%,rgba(80,35,0,.60) 50%,rgba(20,10,0,.75) 100%);*/
    }

/* ── Card ── */
.login-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 460px;
    margin: 1.5rem;
    background: rgba(255,255,255,0.97);
    border: 2px solid rgba(255,107,0,.25);
    border-radius: 20px;
    padding: 2.8rem 2.6rem 2.4rem;
    box-shadow: 0 12px 50px rgba(0,0,0,.4),0 2px 8px rgba(255,107,0,.15);
    animation: slideUp .55s cubic-bezier(.22,1,.36,1) both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Logo ── */
.logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.4rem;
}

    .logo-wrap img {
        width: 200px;
        height: auto;
    }

/* ── Brand divider ── */
.brand-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg,#FF6B00,#FF9500);
    border-radius: 2px;
    margin: 0 auto 1.6rem;
}

/* ── Headings ── */
.login-title {
    color: #1a1a1a;
    font-size: 1.45rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -.3px;
    margin-bottom: .3rem;
}

.login-subtitle {
    color: #888;
    font-size: .875rem;
    text-align: center;
    margin-bottom: 2rem;
}

/* ── Labels ── */
.form-label {
    color: #444;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
    margin-bottom: .45rem;
}

/* ── Inputs ── */
.input-group-text {
    background: #f9f9f9;
    border: 1.5px solid #e8e8e8;
    border-right: none;
    color: #FF6B00;
}

.form-control {
    background: #f9f9f9;
    border: 1.5px solid #e8e8e8;
    border-left: none;
    color: #1a1a1a;
    font-size: .925rem;
    padding: .65rem .85rem;
    transition: border-color .2s,background .2s,box-shadow .2s;
}

    .form-control::placeholder {
        color: #bbb;
    }

    .form-control:focus {
        background: #fff;
        border-color: #FF6B00;
        box-shadow: 0 0 0 3px rgba(255,107,0,.12);
        outline: none;
    }

.input-group .form-control:last-child {
    border-radius: 0 8px 8px 0;
}

.input-group .input-group-text:first-child {
    border-radius: 8px 0 0 8px;
}

/* password toggle */
.toggle-pw {
    background: #f9f9f9;
    border: 1.5px solid #e8e8e8;
    border-left: none;
    color: #aaa;
    cursor: pointer;
    transition: color .2s;
    border-radius: 0 8px 8px 0 !important;
}

    .toggle-pw:hover {
        color: #FF6B00;
    }

/* ── Checkbox & link ── */
.form-check-input:checked {
    background-color: #FF6B00;
    border-color: #FF6B00;
}

.form-check-label {
    color: #666;
    font-size: .85rem;
}

.forgot-link {
    color: #FF6B00;
    font-size: .85rem;
    text-decoration: none;
    transition: opacity .2s;
}

    .forgot-link:hover {
        opacity: .75;
    }

/* ── Submit button ── */
.btn-login {
    width: 100%;
    padding: .78rem;
    font-weight: 700;
    font-size: .95rem;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg,#FF6B00 0%,#FF9500 100%);
    color: #fff;
    cursor: pointer;
    transition: opacity .2s,transform .15s,box-shadow .2s;
    box-shadow: 0 4px 18px rgba(255,107,0,.4);
    margin-top: .5rem;
}

    .btn-login:hover {
        opacity: .9;
        transform: translateY(-1px);
        box-shadow: 0 6px 24px rgba(255,107,0,.5);
    }

    .btn-login:active {
        transform: translateY(0);
    }

/* ── Divider ── */
.divider {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: 1.4rem 0 1.2rem;
    color: #bbb;
    font-size: .78rem;
}

    .divider::before, .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #eee;
    }

/* ── Social buttons ── */
.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .6rem .4rem;
    border-radius: 9px;
    border: 1.5px solid #e8e8e8;
    background: #fff;
    color: #555;
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .2s,color .2s,background .2s;
}

    .social-btn:hover {
        border-color: #FF6B00;
        color: #FF6B00;
        background: #fff5f0;
    }

/* ── Footer ── */
.card-footer-text {
    text-align: center;
    margin-top: 1.5rem;
    color: #999;
    font-size: .83rem;
}

    .card-footer-text a {
        color: #FF6B00;
        text-decoration: none;
        font-weight: 600;
    }

        .card-footer-text a:hover {
            opacity: .75;
        }
