@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Roboto:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background: #000;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.85;
    width: 100%;
    height: 100%;
    background-image: url("images/hero-img.jpg");
    background-image: url("/ints/images/hero-img.jpg");
    background-position: center;
    background-size: cover;
    z-index: 0;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    z-index: 10;
    display: flex;
    align-items: center;
}

nav a .brand-logo {
    height: 52px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.7));
}

.form-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 8px;
    padding: 45px 55px 35px;
    width: 460px;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, .78);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 45px rgba(0,0,0,0.7);
    z-index: 5;
}

.form-wrapper h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
}

/* Error message banner */
.login-error {
    display: none;
    background: #e87c03;
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.4;
}

.login-error.show {
    display: block;
    animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-wrapper form {
    margin: 10px 0 35px;
}

form .form-control {
    height: 52px;
    position: relative;
    margin-bottom: 16px;
}

.form-control input {
    height: 100%;
    width: 100%;
    background: #333;
    border: 1px solid transparent;
    outline: none;
    border-radius: 4px;
    color: #fff;
    font-size: 1rem;
    padding: 0 20px;
    transition: all 0.15s ease;
}

.form-control input:focus {
    background: #454545;
    border-color: #737373;
}

.form-control input:is(:focus, :valid) {
    padding: 16px 20px 0;
}

.form-control label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    pointer-events: none;
    color: #8c8c8c;
    transition: all 0.15s ease;
}

.form-control input:is(:focus, :valid)~label {
    font-size: 0.72rem;
    transform: translateY(-130%);
    color: #b3b3b3;
}

/* Captcha Box */
.captcha-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 8px 14px;
    margin-bottom: 18px;
    gap: 12px;
}

.captcha-text {
    color: #d2d2d2;
    font-size: 0.95rem;
    white-space: nowrap;
}

.captcha-text strong {
    color: #f2c94c;
    font-size: 1.15rem;
    margin: 0 4px;
    letter-spacing: 1px;
}

.captcha-input-wrap {
    height: 40px !important;
    margin-bottom: 0 !important;
    width: 110px;
    flex-shrink: 0;
}

.captcha-input-wrap input {
    height: 100% !important;
    padding: 0 10px !important;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    background: #252525;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    -moz-appearance: textfield;
}

/* Hide spin-button arrows (up/down) in Chrome, Safari, Edge, Opera */
.captcha-input-wrap input::-webkit-outer-spin-button,
.captcha-input-wrap input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.captcha-input-wrap input:focus {
    border-color: #e50914;
    background: #333;
}

form button {
    width: 100%;
    padding: 15px 0;
    font-size: 1.05rem;
    background: #e50914;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 4px;
    border: none;
    outline: none;
    margin: 10px 0 16px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

form button:hover {
    background: #c40812;
}

form button:active {
    transform: scale(0.99);
}

form button:disabled {
    background: #737373;
    cursor: not-allowed;
}

.form-wrapper a {
    text-decoration: none;
}

.form-wrapper a:hover {
    text-decoration: underline;
}

.form-wrapper :where(label, p, small, a) {
    color: #b3b3b3;
}

form .form-help {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

form .remember-me {
    display: flex;
    align-items: center;
}

form .remember-me input {
    margin-right: 6px;
    accent-color: #b3b3b3;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

form .form-help :where(label, a) {
    font-size: 0.85rem;
}

.form-wrapper p {
    font-size: 0.95rem;
    margin-top: 10px;
}

.form-wrapper p a {
    color: #fff;
    font-weight: 500;
}

.form-wrapper small {
    display: block;
    margin-top: 18px;
    color: #8c8c8c;
    font-size: 0.78rem;
    line-height: 1.4;
}

@media (max-width: 740px) {
    body {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 85px;
        padding-bottom: 40px;
        min-height: 100vh;
        overflow-y: auto;
    }

    body::before {
        position: fixed;
        opacity: 0.45;
    }

    nav {
        padding: 12px 20px;
        background: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    nav a .brand-logo {
        height: 38px;
    }

    .form-wrapper {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 92%;
        max-width: 420px;
        padding: 35px 24px 28px;
        margin: 0 auto;
    }

    .form-wrapper h2 {
        font-size: 1.65rem;
    }

    .captcha-box {
        flex-wrap: wrap;
        gap: 8px;
    }

    .captcha-input-wrap {
        width: 100% !important;
    }

    .modal-box {
        padding: 26px 20px;
        max-width: 360px;
    }
}

/* ===================================================
   Contact Admin Modal Popup (Netflix Theme)
   =================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    visibility: hidden;
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.modal-box {
    width: 90%;
    max-width: 440px;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 32px 30px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    transform: scale(0.92);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-box {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    background: none;
    border: none;
    color: #8c8c8c;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: color 0.15s ease;
}

.modal-close:hover {
    color: #fff;
}

.modal-header h3 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.modal-header p {
    color: #8c8c8c;
    font-size: 0.85rem;
    margin-bottom: 22px;
    line-height: 1.4;
}

.contact-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #222;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 16px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(242, 201, 76, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.contact-label {
    font-size: 0.72rem;
    color: #8c8c8c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-value {
    color: #f2c94c;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.15s ease;
}

.contact-value:hover {
    color: #fff;
    text-decoration: underline;
}

.copy-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.teams-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #464EB8;
    color: #fff !important;
    text-decoration: none !important;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: background 0.15s ease, transform 0.1s ease;
    box-shadow: 0 4px 15px rgba(70, 78, 184, 0.35);
}

.teams-chat-btn:hover {
    background: #505AC9;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(70, 78, 184, 0.5);
}

.teams-chat-btn:active {
    transform: scale(0.99);
}

.teams-logo-svg {
    flex-shrink: 0;
}

/* Toast alert when copied */
.copy-toast {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #10b981;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}