@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    font-family: "Quicksand", sans-serif;
    font-weight: 400;
}

h1,h2, h3{
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    color: #d7dde8;
}

p {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: #fff;
}

label , button.btn{
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}
/* =====================================================
// LOGIN SCREEN
// =====================================================*/
body {
    margin: 0;
    font-family: "Quicksand", sans-serif;
    background: #E20074;
    background: linear-gradient(140deg,rgba(226, 0, 116, 1) 0%, rgba(158, 22, 92, 1) 100%);
}

/* =========================================================
   DARK LOGIN PAGE
========================================================= */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(226, 0, 116, 0.12), transparent 28%),
        radial-gradient(circle at bottom left, rgba(226, 0, 116, 0.08), transparent 25%),
        #121821;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #202b39;
    border: 1px solid #344256;
    border-radius: 22px;
    padding: 42px;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.login-logo {
    margin-bottom: 30px;
}

.login-logo a {
    color: #e20074;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.login-card h1 {
    color: #ffffff;
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.login-subtitle {
    color: #93a1b5;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.form-label {
    color: #d7dde8;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 7px;
}

.login-input {
    height: 48px;
    background: #121821 !important;
    border: 1px solid #344256 !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

.login-input::placeholder {
    color: #7f8da1;
}

.login-input:hover,
.login-input:focus {
    background: #121821 !important;
    border-color: #e20074 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 0.18rem rgba(226, 0, 116, 0.18) !important;
}

.password-wrapper {
    position: relative;
}

.password-wrapper .login-input {
    padding-right: 46px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #93a1b5;
    padding: 0;
    line-height: 1;
}

.password-toggle:hover {
    color: #e20074;
}

.forgot-link {
    color: #e20074;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
}

.forgot-link:hover {
    color: #ff4fa4;
}

.login-btn {
    height: 50px;
    background: linear-gradient(135deg, #e20074, #9b0050) !important;
    border: 1px solid #e20074 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(226, 0, 116, 0.28);
    transition: all 0.2s ease;
}

.login-btn:hover {
    background: linear-gradient(135deg, #ff1b8d, #b80061) !important;
    border-color: #ff1b8d !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(226, 0, 116, 0.36);
}

/* Alerts */
.alert {
    border-radius: 12px;
    font-size: 0.9rem;
    border: 1px solid transparent;
}

.alert-danger {
    background: rgba(180, 35, 24, 0.16) !important;
    border-color: rgba(180, 35, 24, 0.4) !important;
    color: #ffb4b4 !important;
}

.alert-success {
    background: rgba(18, 128, 92, 0.15) !important;
    border-color: rgba(18, 128, 92, 0.4) !important;
    color: #7ee2be !important;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.35) !important;
    color: #ffd98b !important;
}

@media (max-width: 576px) {
    .login-card {
        padding: 30px 24px;
        border-radius: 18px;
    }

    .login-card h1 {
        font-size: 1.6rem;
    }
}

.btn-outline-primary {
    border: 1px solid #e20074 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(226, 0, 116, 0.28);
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(75deg, #ff1b8d, #b80061) !important;
    border-color: #ff1b8d !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(226, 0, 116, 0.36);
}

/* =========================================================
   FORGOT / RESET PASSWORD SCREENS
   Add class="auth-screen" to the <body> element.
========================================================= */

body.auth-screen {
    --auth-accent: #e20074;
    --auth-accent-light: #ff4fa4;
    --auth-accent-dark: #9b0050;
    --auth-panel: rgba(25, 35, 49, 0.88);
    --auth-panel-border: rgba(255, 255, 255, 0.09);
    --auth-field: rgba(8, 14, 23, 0.72);
    --auth-field-border: #3b485b;
    --auth-text: #f7f9fc;
    --auth-muted: #9daabd;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    color: var(--auth-text);
    background:
        radial-gradient(circle at 82% 12%, rgba(226, 0, 116, 0.24), transparent 30%),
        radial-gradient(circle at 12% 88%, rgba(91, 33, 182, 0.16), transparent 32%),
        linear-gradient(145deg, #0a0f17 0%, #111927 48%, #172234 100%) !important;
}

body.auth-screen::before,
body.auth-screen::after {
    content: "";
    position: fixed;
    z-index: 0;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(4px);
}

body.auth-screen::before {
    top: -180px;
    right: -130px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(226, 0, 116, 0.16);
    box-shadow:
        0 0 0 52px rgba(226, 0, 116, 0.025),
        0 0 0 104px rgba(226, 0, 116, 0.018);
}

body.auth-screen::after {
    bottom: -240px;
    left: -180px;
    width: 430px;
    height: 430px;
    background: rgba(59, 130, 246, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.035);
}

body.auth-screen > .container-fluid {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    padding: 28px !important;
    background: transparent !important;
}

body.auth-screen .card {
    position: relative;
    width: 100% !important;
    max-width: 470px !important;
    overflow: hidden;
    border: 1px solid var(--auth-panel-border) !important;
    border-radius: 26px !important;
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.055), transparent 42%),
        var(--auth-panel) !important;
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.46),
        0 1px 0 rgba(255, 255, 255, 0.06) inset !important;
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

body.auth-screen .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--auth-accent), #ff5cac, #8b5cf6);
}

body.auth-screen .card::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -110px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(226, 0, 116, 0.13);
    filter: blur(55px);
    pointer-events: none;
}

body.auth-screen .card-body {
    position: relative;
    z-index: 1;
    padding: 46px !important;
}

body.auth-screen h2 {
    margin: 0 0 10px !important;
    color: var(--auth-text) !important;
    font-size: clamp(1.7rem, 5vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.035em;
}

body.auth-screen h2::before {
    content: "TOOLS";
    display: block;
    width: max-content;
    margin: 0 auto 18px;
    padding: 7px 12px;
    border: 1px solid rgba(226, 0, 116, 0.34);
    border-radius: 999px;
    color: #ff89c3;
    background: rgba(226, 0, 116, 0.11);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
}

body.auth-screen .text-muted {
    color: var(--auth-muted) !important;
}

body.auth-screen .text-center.mb-4 {
    margin-bottom: 32px !important;
}

body.auth-screen .form-label {
    margin-bottom: 9px;
    color: #dfe6f1 !important;
    font-size: 0.86rem;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
}

body.auth-screen .form-control {
    min-height: 54px;
    padding: 12px 15px;
    border: 1px solid var(--auth-field-border) !important;
    border-radius: 14px !important;
    color: var(--auth-text) !important;
    background: var(--auth-field) !important;
    box-shadow: none !important;
    font-family: "Quicksand", sans-serif;
    font-size: 0.96rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

body.auth-screen .form-control::placeholder {
    color: #738196;
}

body.auth-screen .form-control:hover {
    border-color: #526178 !important;
}

body.auth-screen .form-control:focus {
    border-color: var(--auth-accent) !important;
    background: rgba(8, 14, 23, 0.88) !important;
    box-shadow: 0 0 0 4px rgba(226, 0, 116, 0.15) !important;
}

body.auth-screen .form-control:-webkit-autofill,
body.auth-screen .form-control:-webkit-autofill:hover,
body.auth-screen .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--auth-text);
    -webkit-box-shadow: 0 0 0 1000px #101722 inset !important;
    caret-color: var(--auth-text);
}

body.auth-screen .btn-primary {
    min-height: 53px;
    border: 1px solid var(--auth-accent) !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--auth-accent), var(--auth-accent-dark)) !important;
    box-shadow: 0 13px 28px rgba(226, 0, 116, 0.28);
    font-size: 0.96rem;
    font-weight: 800 !important;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

body.auth-screen .btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 17px 34px rgba(226, 0, 116, 0.36);
}

body.auth-screen .btn-primary:focus-visible,
body.auth-screen a:focus-visible {
    outline: 3px solid rgba(255, 79, 164, 0.42);
    outline-offset: 3px;
}

body.auth-screen a {
    color: #ff75b8;
    font-weight: 700;
    transition: color 0.2s ease;
}

body.auth-screen a:hover {
    color: #ffadd3;
}

body.auth-screen .alert {
    padding: 13px 15px;
    border-radius: 13px;
    font-size: 0.88rem;
    line-height: 1.45;
}

body.auth-screen .alert-light {
    color: #bec9d8 !important;
    border-color: #344256 !important;
    background: rgba(8, 14, 23, 0.48) !important;
}

body.auth-screen .alert-danger {
    color: #ffb6bf !important;
    border-color: rgba(244, 63, 94, 0.34) !important;
    background: rgba(159, 18, 57, 0.17) !important;
}

body.auth-screen .alert-success {
    color: #8ce7c3 !important;
    border-color: rgba(16, 185, 129, 0.32) !important;
    background: rgba(6, 95, 70, 0.2) !important;
}

body.auth-screen .btn-close {
    filter: invert(1) grayscale(1);
    opacity: 0.68;
}

@media (max-width: 576px) {
    body.auth-screen > .container-fluid {
        align-items: center !important;
        justify-content: center !important;
        padding: 18px !important;
    }

    body.auth-screen .card {
        margin: auto 0;
        border-radius: 21px !important;
    }

    body.auth-screen .card-body {
        padding: 34px 24px !important;
    }

    body.auth-screen .text-center.mb-4 {
        margin-bottom: 26px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.auth-screen *,
    body.auth-screen *::before,
    body.auth-screen *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* Master Administrator registration spacing */
body.register-master-admin-screen .container-fluid.vh-100 {
    height: auto !important;
    min-height: 100vh;
    padding-top: 50px;
    padding-bottom: 50px;
}

/* Mobile spacing */
@media (max-width: 576px) {
    body.register-master-admin-screen .container-fluid.vh-100 {
        padding-top: 24px;
        padding-bottom: 24px;
    }
}

/* =====================================================
   MASTER ADMIN FIRST-TIME SETUP RIBBON
   ===================================================== */

.master-setup-ribbon {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    padding: 3.3rem 1.35rem 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1rem;

    background:
        radial-gradient(
            circle at top left,
            rgba(255, 255, 255, 0.18),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #e20074 0%,
            #c50065 55%,
            #9f0052 100%
        );

    color: #ffffff;

    box-shadow:
        0 18px 40px rgba(159, 0, 82, 0.28),
        0 6px 16px rgba(226, 0, 116, 0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.master-setup-ribbon:hover {
    transform: translateY(-2px);

    box-shadow:
        0 22px 48px rgba(159, 0, 82, 0.34),
        0 8px 20px rgba(226, 0, 116, 0.22);
}


/* =====================================================
   DECORATIVE BACKGROUND GLOW
   ===================================================== */

.master-setup-ribbon::before {
    content: "";
    position: absolute;
    top: -70px;
    left: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.master-setup-ribbon::after {
    content: "";
    position: absolute;
    right: -75px;
    bottom: -90px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}


/* =====================================================
   SETUP REQUIRED LABEL
   ===================================================== */

.setup-ribbon-label {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;

    padding: 0.5rem 1.05rem;

    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom-left-radius: 0.85rem;

    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;

    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    line-height: 1.2;
    text-transform: uppercase;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}


/* =====================================================
   CONTENT
   ===================================================== */

.setup-ribbon-content {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    gap: 1rem;

    margin-bottom: 1.25rem;
}


/* =====================================================
   ICON
   ===================================================== */

.setup-ribbon-icon {
    display: flex;
    flex: 0 0 3.35rem;

    width: 3.35rem;
    height: 3.35rem;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(91, 0, 47, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);

    font-size: 1.4rem;

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.setup-ribbon-icon i {
    color: #ffffff;
}


/* =====================================================
   TEXT
   ===================================================== */

.setup-ribbon-text {
    min-width: 0;
}

.setup-ribbon-text h3 {
    margin: 0 0 0.35rem;

    color: #ffffff;

    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
}

.setup-ribbon-text p {
    margin: 0;

    color: #ffffff;

    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.5;

    opacity: 0.9;
}


/* =====================================================
   CREATE MASTER ADMIN BUTTON
   ===================================================== */

.setup-ribbon-button,
.setup-ribbon-button:visited {
    position: relative;
    z-index: 2;

    padding: 0.78rem 1rem;

    border: 1px solid rgba(255, 137, 195, 0.7);
    border-bottom-color: rgba(115, 0, 59, 0.8);
    border-radius: 0.7rem;

    background:
        linear-gradient(
            180deg,
            rgba(255, 137, 195, 0.32) 0%,
            rgba(226, 0, 116, 0.38) 100%
        );

    color: #ffffff;

    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;

    text-shadow: 0 1px 2px rgba(74, 0, 38, 0.45);

    box-shadow:
        0 5px 0 rgba(105, 0, 54, 0.65),
        0 10px 18px rgba(80, 0, 41, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);

    transform: translateY(0);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.setup-ribbon-button i {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(74, 0, 38, 0.45);
}


/* HOVER */

.setup-ribbon-button:hover {
    border-color: rgba(255, 137, 195, 0.9);
    border-bottom-color: rgba(115, 0, 59, 0.85);

    background:
        linear-gradient(
            180deg,
            rgba(255, 137, 195, 0.42) 0%,
            rgba(226, 0, 116, 0.5) 100%
        );

    color: #ffffff;

    box-shadow:
        0 6px 0 rgba(105, 0, 54, 0.68),
        0 13px 22px rgba(80, 0, 41, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.38);

    transform: translateY(-1px);
}


/* KEYBOARD FOCUS */

.setup-ribbon-button:focus,
.setup-ribbon-button:focus-visible {
    border-color: #ff89c3;
    color: #ffffff;

    box-shadow:
        0 5px 0 rgba(105, 0, 54, 0.65),
        0 10px 18px rgba(80, 0, 41, 0.22),
        0 0 0 0.22rem rgba(255, 137, 195, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}


/* PRESSED EFFECT */

.setup-ribbon-button:active,
.setup-ribbon-button:first-child:active {
    border-color: rgba(255, 137, 195, 0.8);

    background:
        linear-gradient(
            180deg,
            rgba(200, 0, 103, 0.52) 0%,
            rgba(175, 0, 90, 0.58) 100%
        );

    color: #ffffff;

    box-shadow:
        0 1px 0 rgba(105, 0, 54, 0.7),
        0 4px 8px rgba(80, 0, 41, 0.2),
        inset 0 2px 4px rgba(70, 0, 36, 0.2);

    transform: translateY(4px);
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 480px) {
    .master-setup-ribbon {
        padding:
            3.15rem
            1rem
            1rem;
        border-radius: 0.85rem;
    }

    .setup-ribbon-content {
        align-items: flex-start;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .setup-ribbon-icon {
        flex-basis: 2.85rem;
        width: 2.85rem;
        height: 2.85rem;
        font-size: 1.18rem;
    }

    .setup-ribbon-text h3 {
        font-size: 1rem;
    }

    .setup-ribbon-text p {
        font-size: 0.82rem;
    }

    .setup-ribbon-button {
        padding: 0.7rem 0.8rem;
        font-size: 0.88rem;
    }
}