* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f7f9;
    color: #17191c;
}

a {
    color: inherit;
}

.page-shell {
    min-height: 100vh;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 60px 24px;
}

.hero-content {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
}

.eyebrow {
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.hero h1,
.login-card h1,
.dashboard-heading h1 {
    margin: 0 0 20px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.02;
}

.hero p {
    max-width: 650px;
    margin: 0 0 32px;
    font-size: 20px;
    line-height: 1.6;
}

.button {
    display: inline-block;
    padding: 14px 22px;
    border: 0;
    border-radius: 8px;
    background: #17191c;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.button-secondary {
    background: #e7e9ed;
    color: #17191c;
}

.button-full {
    width: 100%;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.login-card {
    width: 100%;
    max-width: 460px;
    padding: 40px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
}

.brand {
    font-weight: 700;
    text-decoration: none;
}

.login-card h1 {
    margin-top: 35px;
    font-size: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

.form-group input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d5d8dd;
    border-radius: 7px;
    font-size: 16px;
}

.alert,
.notice {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 8px;
}

.alert,
.notice.error {
    border: 1px solid #e3a9a9;
    background: #fff5f5;
}

.notice.success {
    border: 1px solid #a9d6b4;
    background: #f2fff5;
}

.member-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.member-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.member-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
}

.member-nav a {
    text-decoration: none;
}

.member-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 50px 24px;
}

.dashboard-heading {
    margin-bottom: 34px;
}

.dashboard-heading h1 {
    font-size: 44px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.secondary-grid {
    margin-top: 20px;
}

.dashboard-card {
    padding: 24px;
    border: 1px solid #e3e5e8;
    border-radius: 12px;
    background: #fff;
}

.dashboard-card strong {
    display: block;
    margin-top: 10px;
    font-size: 22px;
}

.dashboard-card p {
    line-height: 1.6;
}

.card-label {
    display: block;
    color: #6d727a;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.dashboard-coming {
    margin-top: 20px;
}

.history-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.history-row span {
    display: block;
    color: #6d727a;
    font-size: 13px;
}

.history-row strong {
    margin-top: 7px;
}

@media (max-width: 900px) {

    .dashboard-grid,
    .history-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .dashboard-grid,
    .history-row {
        grid-template-columns: 1fr;
    }

    .member-header-inner {
        align-items: flex-start;
    }

    .member-nav {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }

    .login-card {
        padding: 28px 22px;
    }
}
