/* =========================================================
   SEEK — GLOBAL DESIGN SYSTEM
   ========================================================= */


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: "Inter";
    font-weight: 400;

    background: #f8faff;
    color: #202124;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   DESIGN TOKENS
   ========================================================= */

:root {

    /* Brand */
    --blue: #1687f8;
    --blue-dark: #0873e6;
    --blue-deep: #075fc2;

    --blue-light: #eaf4ff;
    --blue-soft: #f4f9ff;
    --blue-pale: #f7fbff;


    /* Background */
    --white: #ffffff;
    --background: #f8faff;


    /* Text */
    --text: #25272a;
    --text-secondary: #696e77;
    --text-muted: #989da6;


    /* Borders */
    --border: #e7ebf0;
    --border-blue: #cfe5ff;


    /* Feedback */
    --success: #1f9d67;
    --success-light: #eaf8f1;

    --danger: #df4b53;
    --danger-light: #fff0f1;

    --warning: #e5a52c;
    --warning-light: #fff8e8;


    /* Border radius */
    --radius-xs: 8px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 26px;
    --radius-round: 999px;


    /* Shadows */
    --shadow-xs:
        0 1px 2px rgba(16, 24, 40, 0.03);

    --shadow-sm:
        0 4px 18px rgba(20, 43, 77, 0.05);

    --shadow-md:
        0 14px 40px rgba(20, 43, 77, 0.08);

    --shadow-blue:
        0 12px 30px rgba(22, 135, 248, 0.22);


    /* Transitions */
    --transition:
        180ms ease;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text);
    font-weight: 700;
    line-height: 1.15;
}

p {
    line-height: 1.6;
}


/* =========================================================
   FORM ELEMENTS
   ========================================================= */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group label {
    color: var(--text);
    font-size: 0.875rem;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: var(--white);

    color: var(--text);

    outline: none;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

input {
    min-height: 52px;
    padding: 0 16px;
}

textarea {
    min-height: 120px;
    padding: 14px 16px;
    resize: vertical;
}

select {
    min-height: 52px;
    padding: 0 16px;
}

input::placeholder,
textarea::placeholder {
    color: #a6abb3;
    opacity: 1;
}

input:hover,
select:hover,
textarea:hover {
    border-color: #d5dbe3;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 4px rgba(22, 135, 248, 0.10);
}


/* =========================================================
   BUTTONS
   ========================================================= */

.primary-button {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 22px;

    border: 0;
    border-radius: var(--radius-md);

    background:
        linear-gradient(
            135deg,
            #1687f8 0%,
            #356cf6 100%
        );

    color: var(--white);

    font-weight: 600;
    font-size: 0.94rem;

    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(22, 135, 248, 0.20);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        opacity var(--transition);
}

.primary-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 14px 30px rgba(22, 135, 248, 0.27);
}

.primary-button:active {
    transform: translateY(0);

    box-shadow:
        0 7px 18px rgba(22, 135, 248, 0.18);
}

.primary-button:focus-visible {
    outline: 3px solid rgba(22, 135, 248, 0.25);
    outline-offset: 3px;
}

.primary-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}


/* =========================================================
   UTILITIES
   ========================================================= */

.hidden {
    display: none !important;
}

.no-scroll {
    overflow: hidden;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    html {
        font-size: 15px;
    }

    input,
    select {
        min-height: 54px;
    }

    .primary-button {
        min-height: 54px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
   LEADER PROFILE MENU
   ========================================================= */

.sidebar-profile {
    cursor: pointer;
}


.leader-profile-menu {
    position: fixed;

    z-index: 1000;

    width: 220px;

    display: none;

    padding: 8px;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: var(--white);

    box-shadow:
        0 18px 50px
        rgba(20, 43, 77, 0.14);
}


.leader-profile-menu.visible {
    display: block;
}


.leader-menu-heading {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 10px;
}


.leader-menu-avatar {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #1687f8,
            #526cf6
        );

    color: var(--white);

    font-size: 0.65rem;
    font-weight: 700;
}


.leader-menu-heading strong {
    display: block;

    color: var(--text);

    font-size: 0.7rem;
    font-weight: 600;
}


.leader-menu-heading div > span {
    display: block;

    margin-top: 3px;

    color: var(--text-muted);

    font-size: 0.58rem;
}


.leader-menu-divider {
    height: 1px;

    margin: 4px 5px;

    background: var(--border);
}


.leader-menu-item {
    width: 100%;
    min-height: 41px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 0 10px;

    border: 0;
    border-radius: 9px;

    background: transparent;

    color: var(--text-secondary);

    font: inherit;

    font-size: 0.65rem;
    font-weight: 500;

    text-align: left;

    cursor: pointer;

    transition:
        background var(--transition),
        color var(--transition);
}


.leader-menu-item svg {
    width: 17px;
    height: 17px;

    flex-shrink: 0;
}


.leader-menu-item:hover {
    background: var(--blue-soft);

    color: var(--blue-dark);
}


.leader-menu-item.logout:hover {
    background: var(--danger-light);

    color: var(--danger);
}


@media (max-width: 760px) {

    .leader-profile-menu {
        width: min(
            220px,
            calc(100vw - 30px)
        );
    }

}