:root {
    --acad-primary: #002e45;
    --acad-primary-dark: #001824;
    --acad-primary-soft: #0a4a63;
    --acad-accent: #ff8200;
    --acad-accent-soft: #ffb773;
    --acad-text: #0f172a;
    --acad-muted: #64748b;
    --acad-border: #e4e8ef;
    --acad-surface: #ffffff;
}
.rest-wrap {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 16px;
    background:
        radial-gradient(ellipse at 10% 0%, rgba(0,46,69,0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 95% 100%, rgba(255,130,0,0.08) 0%, transparent 55%),
        linear-gradient(180deg, #fafbfd 0%, #eef1f6 100%);
    font-family: var(--body-font, 'Roboto'), sans-serif;
}
.rest-card {
    width: 100%;
    max-width: 460px;
    background: var(--acad-surface);
    border: 1px solid rgba(228,232,239,0.9);
    border-radius: 4px;
    padding: 44px 40px 36px;
    box-shadow: 0 30px 80px -30px rgba(0,24,36,0.30), 0 4px 12px rgba(0,24,36,0.04);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.rest-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--acad-primary) 0%, var(--acad-accent) 100%);
}
.rest-icon {
    width: 72px;
    height: 72px;
    margin: 4px auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,46,69,0.08) 0%, rgba(255,130,0,0.10) 100%);
    color: var(--acad-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0,46,69,0.10);
}
.rest-icon svg { width: 32px; height: 32px; }
.rest-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--acad-primary);
    font-weight: 600;
    margin-bottom: 10px;
}
.rest-eyebrow::before, .rest-eyebrow::after {
    content: "";
    width: 20px; height: 2px;
    background: var(--acad-accent);
    border-radius: 2px;
}
.rest-title {
    font-family: var(--heading-font, 'Yantramanav'), sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin: 0 0 10px;
    color: var(--acad-text);
}
.rest-subtitle {
    font-size: 14px;
    color: var(--acad-muted);
    margin: 0 auto 26px;
    line-height: 1.55;
    max-width: 340px;
}
.rest-field {
    text-align: left;
    margin-bottom: 18px;
}
.rest-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--acad-text);
    letter-spacing: 0.2px;
    margin-bottom: 7px;
}
.rest-input {
    display: flex;
    align-items: center;
    background: #fbfcfe;
    border: 1.5px solid var(--acad-border);
    border-radius: 3px;
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.rest-input:focus-within {
    border-color: var(--acad-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0,46,69,0.09);
}
.rest-input svg {
    margin-left: 13px;
    color: var(--acad-muted);
    flex-shrink: 0;
}
.rest-input input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 13px 14px;
    font-size: 14.5px;
    color: var(--acad-text);
    outline: none;
    font-family: inherit;
}
.rest-input input::placeholder { color: #9aa3b2; }
.rest-submit {
    width: 100%;
    border: 0;
    border-radius: 3px;
    padding: 14px 20px;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(135deg, var(--acad-primary) 0%, var(--acad-primary-dark) 100%);
    box-shadow: 0 8px 22px -10px rgba(0,46,69,0.55), inset 0 1px 0 rgba(255,255,255,0.08);
    transition: transform .15s ease, box-shadow .25s ease, filter .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    margin-top: 4px;
}
.rest-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -12px rgba(0,46,69,0.65), inset 0 1px 0 rgba(255,255,255,0.14);
    filter: brightness(1.04);
}
.rest-submit:active { transform: translateY(0); }
.rest-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: 13px;
    font-weight: 500;
    color: var(--acad-primary);
    text-decoration: none;
    transition: color .18s ease;
}
.rest-back:hover { color: var(--acad-accent); text-decoration: none; }
.rest-back svg { width: 14px; height: 14px; }
.rest-helper {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--acad-border);
    font-size: 12px;
    color: var(--acad-muted);
    line-height: 1.55;
}
.rest-helper strong { color: var(--acad-text); font-weight: 600; }
@media (max-width: 480px) {
    .rest-wrap { padding: 32px 12px; }
    .rest-card { padding: 36px 26px 30px; border-radius: 4px; }
    .rest-title { font-size: 24px; }
}
