
:root {
    --background: #080808;
    --surface: #111111;
    --surface-light: #191919;
    --gold: #D4AF37;
    --gold-light: #E8C95F;
    --text: #F5F5F5;
    --muted: #888888;
    --border: rgba(212, 175, 55, 0.20);
    --green: #43C98B;
    --red: #E36B6B;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.background-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(212, 175, 55, 0.08);
    filter: blur(120px);
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 1;
    width: min(100% - 40px, 760px);
    margin: 0 auto;
    padding: 35px 0 25px;
}

/* HEADER */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-symbol {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    background: var(--gold);
    color: #080808;
    font-size: 27px;
    font-weight: 900;
    border-radius: 9px;
}

.brand-text h1 {
    font-size: 22px;
    letter-spacing: 3px;
}

.brand-text span {
    display: block;
    margin-top: 3px;
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--gold);
}

.private-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--muted);
}

.status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
}

/* GENERAL */

.screen {
    animation: appear .35s ease;
}

.hidden {
    display: none !important;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: bold;
}

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.section-heading h2,
.dashboard-top h2 {
    font-size: 32px;
    margin: 12px 0;
}

.section-heading p,
.dashboard-top p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* LOGIN */

.login-screen {
    max-width: 430px;
    margin: 70px auto 90px;
    padding: 35px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 15px;
}

.section-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin: 0 auto 25px;
    border-radius: 15px;
    border: 1px solid var(--border);
    background: rgba(212, 175, 55, 0.07);
    color: var(--gold);
    font-size: 30px;
}

form label {
    display: block;
    color: #CCCCCC;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.input-wrapper {
    position: relative;
}

input {
    width: 100%;
    height: 51px;
    padding: 0 15px;
    color: var(--text);
    background: #090909;
    border: 1px solid #303030;
    border-radius: 7px;
    outline: none;
    transition: .2s;
}

input::placeholder {
    color: #666666;
}

input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.visibility-button {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 51px;
    background: transparent;
    color: var(--gold);
    border: 0;
}

#accessCode {
    padding-right: 55px;
}

/* BUTTONS */

.primary-button {
    width: 100%;
    min-height: 51px;
    margin-top: 20px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gold);
    color: #080808;
    border: none;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    transition: .2s;
}

.primary-button:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
}

.primary-button:disabled {
    opacity: .6;
    cursor: wait;
    transform: none;
}

.button-arrow {
    font-size: 20px;
}

.message {
    min-height: 18px;
    margin-top: 15px;
    font-size: 12px;
    line-height: 1.5;
}

.message.error {
    color: var(--red);
}

.message.success {
    color: var(--green);
}

/* DASHBOARD */

.verifier-screen {
    padding-top: 45px;
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.logout-button {
    background: transparent;
    border: 1px solid #333333;
    color: #AAAAAA;
    border-radius: 7px;
    padding: 10px 15px;
    font-size: 12px;
    white-space: nowrap;
}

.logout-button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* VERIFICATION CARD */

.verification-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 27px;
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 27px;
}

.card-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(212, 175, 55, 0.10);
    color: var(--gold);
    font-size: 26px;
}

.card-heading h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.card-heading p {
    color: var(--muted);
    font-size: 12px;
}

/* RESULT */

.result-section,
.invalid-section {
    margin-top: 25px;
    padding: 27px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    animation: appear .35s ease;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.result-header h3 {
    margin-top: 9px;
    font-size: 18px;
}

.result-badge {
    padding: 8px 12px;
    color: var(--green);
    border: 1px solid rgba(67, 201, 139, 0.3);
    background: rgba(67, 201, 139, 0.08);
    border-radius: 20px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
}

.member-profile {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.member-photo-container {
    width: 150px;
    height: 170px;
    flex-shrink: 0;
    border: 2px solid var(--gold);
    border-radius: 10px;
    overflow: hidden;
    background: #202020;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-information {
    flex: 1;
    min-width: 0;
}

.information-label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 1.4px;
}

.member-information > h2 {
    margin-bottom: 25px;
    font-size: 23px;
    overflow-wrap: anywhere;
}

.information-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 15px;
}

.information-item strong {
    display: block;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.full-width {
    grid-column: 1 / -1;
}

.originality-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid #292929;
    color: var(--muted);
    font-size: 11px;
}

/* INVALID */

.invalid-section {
    text-align: center;
    border-color: rgba(227, 107, 107, 0.25);
}

.invalid-icon {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    margin: 0 auto 17px;
    border-radius: 50%;
    background: rgba(227, 107, 107, 0.10);
    color: var(--red);
    font-size: 27px;
    font-weight: bold;
}

.invalid-section h3 {
    margin-bottom: 10px;
    color: var(--red);
}

.invalid-section p {
    max-width: 390px;
    margin: auto;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

/* FOOTER */

.dashboard-footer {
    margin-top: 45px;
    padding: 20px 0;
    text-align: center;
    color: #555555;
    border-top: 1px solid #222222;
    font-size: 9px;
    letter-spacing: 2px;
}

/* RESPONSIVE */

@media (max-width: 550px) {

    .container {
        width: calc(100% - 28px);
        padding-top: 22px;
    }

    .login-screen {
        margin-top: 55px;
        padding: 25px 20px;
    }

    .section-heading h2,
    .dashboard-top h2 {
        font-size: 27px;
    }

    .private-label {
        font-size: 8px;
    }

    .dashboard-top {
        align-items: center;
    }

    .verification-card,
    .result-section,
    .invalid-section {
        padding: 20px;
    }

    .member-profile {
        flex-direction: column;
        align-items: center;
    }

    .member-photo-container {
        width: 145px;
        height: 160px;
    }

    .member-information {
        width: 100%;
    }

    .member-information > h2 {
        text-align: center;
    }

    .member-information > .information-label {
        text-align: center;
    }

    .result-header {
        align-items: flex-start;
    }

    .result-header h3 {
        font-size: 15px;
    }

}

.logo {
    width: 150px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 24px;
}
