
/* =====================================================
   JAI SHREE SOLAR — SHARED PUBLIC WEBSITE THEME
   Used by: Homepage, referral form and leaderboard
   ===================================================== */


:root {
    --brand-navy: #14213d;
    --brand-blue: #10396c;
    --brand-blue-light: #17477f;
    --brand-yellow: #ffbd00;
    --brand-yellow-hover: #f0ad00;
    --brand-green: #16c967;

    --page-bg: #10396c;
    --surface: #ffffff;
    --surface-soft: #172e50;
    --text: #17243b;
    --text-muted: #647187;
    --border: #dce3ed;
    --success: #167a48;
    --danger: #b42318;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;

    --shadow-card: 0 8px 26px rgba(0, 0, 0, 0.16);
    --content-width: 1060px;
}

/* Reset */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
     background: #10396c;
    color: var(--text);
    font-family: Inter, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--brand-blue);
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

button,
input[type="submit"],
input[type="button"] {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--brand-yellow);
    outline-offset: 3px;
}

/* Shared header */

.site-header {
    position: relative;
    z-index: 10;
    background: var(--brand-navy);
    border-bottom: 4px solid var(--brand-yellow);
    color: #ffffff;
}

.header-inner {
    width: 100%;
    max-width: var(--content-width);
    min-height: 76px;
    padding: 12px 20px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: #ffffff;
    text-decoration: none;
}

.brand img,
.brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 8px;
    background: #ffffff;
}

.brand-name {
    display: block;
    color: #ffffff;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.brand-caption {
    display: block;
    margin-top: 3px;
    color: #e0e8f3;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.header-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 189, 0, 0.35);
    border-radius: 8px;
    color: var(--brand-yellow);
    background: rgba(255, 255, 255, 0.04);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

/* Main content */

.page,
.container,
.main-content {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 24px 18px 42px;
}

.hero,
.card,
.section,
.form-card,
.leaderboard {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.hero {
    overflow: hidden;
}

.poster-wrap {
    padding: 0;
    background: var(--brand-navy);
}

.poster {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: contain;
    margin: 0 auto;
}

/* Countdown */

.hero-content {
    padding: 18px 18px 25px;
    background: var(--surface);
    text-align: center;
}

.countdown-section {
    margin: 0;
    padding: 20px 13px;
    border: 1px solid rgba(255, 189, 0, 0.2);
    border-radius: var(--radius-lg);
    background: linear-gradient(
        135deg,
        var(--brand-navy),
        var(--brand-blue)
    );
    color: #ffffff;
}

.countdown-label {
    margin-bottom: 14px;
    color: var(--brand-yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.time-box {
    min-width: 0;
    padding: 12px 3px 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.09);
}

.time-number {
    display: block;
    color: #ffffff;
    font-size: clamp(23px, 6vw, 34px);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}

.time-unit {
    display: block;
    margin-top: 7px;
    color: var(--brand-yellow);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.deadline {
    margin-top: 13px;
    color: #e8edf5;
    font-size: 12px;
}

/* Primary and secondary buttons */

.primary-button,
.btn-primary,
button.btn-primary,
input.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    margin-top: 18px;

    border: 0;
    border-radius: var(--radius-sm);
    background: var(--brand-yellow);
    color: var(--brand-navy);

    font-size: 15px;
    font-weight: 900;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;

    box-shadow: 0 4px 0 #d99f00;
    transition: background 0.18s ease, transform 0.18s ease;
}

.primary-button:hover,
.btn-primary:hover,
button.btn-primary:hover,
input.btn-primary:hover {
    background: var(--brand-yellow-hover);
    color: var(--brand-navy);
}

.primary-button:active,
.btn-primary:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #d99f00;
}

.btn-secondary,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 17px;
    border: 1px solid var(--brand-blue);
    border-radius: var(--radius-sm);
    background: var(--brand-blue);
    color: #ffffff;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.secure-note {
    margin: 14px 0 0;
    color: var(--text-muted);
    font-size: 12px;
}

/* Cards and section headings */

.section,
.card,
.form-card {
    padding: 21px;
    margin-top: 18px;
}

h1,
h2,
h3,
h4 {
    color: var(--brand-navy);
    line-height: 1.3;
}

h1 {
    font-size: clamp(25px, 5vw, 36px);
    letter-spacing: -0.7px;
}

h2 {
    font-size: clamp(20px, 4vw, 26px);
    letter-spacing: -0.4px;
}

p {
    overflow-wrap: anywhere;
}

.muted,
.text-muted,
.leader-caption {
    color: var(--text-muted);
}

/* Leaderboard */

.leaderboard {
    overflow: hidden;
    margin-top: 18px;
}

.leaderboard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 21px 18px;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
}

.leaderboard-heading h2 {
    margin: 0;
    color: var(--brand-navy);
    font-size: 21px;
}

.leaderboard-heading p {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.live-tag {
    flex-shrink: 0;
    padding: 7px 9px;
    border-radius: 6px;
    background: var(--brand-navy);
    color: var(--brand-yellow);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.leader-row {
    display: grid;
    grid-template-columns: 37px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 14px 17px;
    border-bottom: 1px solid #edf0f5;
    background: #ffffff;
}

.leader-row:last-child {
    border-bottom: 0;
}

.rank {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 9px;
    background: #edf1f6;
    color: var(--brand-navy);
    font-size: 13px;
    font-weight: 900;
}

.rank.top {
    background: #fff2c7;
    color: #795400;
}

.leader-name {
    overflow-wrap: anywhere;
    color: var(--brand-navy);
    font-size: 14px;
    font-weight: 850;
}

.leader-caption {
    display: block;
    margin-top: 3px;
    font-size: 11px;
}

.points {
    min-width: 68px;
    padding: 8px 9px;
    border-radius: 8px;
    background: var(--brand-navy);
    color: var(--brand-yellow);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
}

.empty-state {
    padding: 32px 20px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.7;
}

/* Prize panel */

.prize-note {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #f0d789;
    border-radius: var(--radius-md);
    background: #fff9e8;
}

.prize-note h3 {
    margin: 0 0 8px;
    color: var(--brand-navy);
    font-size: 16px;
}

.prize-note p {
    margin: 0;
    color: #514526;
    font-size: 13px;
    line-height: 1.8;
}

/* Forms: shared across referral and other public pages */

form {
    width: 100%;
}

.form-group,
.form-field,
.field-group {
    margin-bottom: 17px;
}

label {
    display: block;
    margin-bottom: 7px;
    color: var(--brand-navy);
    font-size: 13px;
    font-weight: 800;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
select,
textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;

    border: 1px solid #cfd8e4;
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--text);
    font-size: 16px;
    line-height: 1.45;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: #8995a7;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand-blue);
    outline: 3px solid rgba(16, 57, 108, 0.12);
}

.form-help,
.help-text {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

.form-error,
.error-message {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: #fff0ef;
    color: var(--danger);
    font-size: 13px;
}

.form-success,
.success-message {
    padding: 13px 15px;
    border: 1px solid #b8e6c9;
    border-radius: var(--radius-sm);
    background: #edf9f0;
    color: var(--success);
    font-size: 14px;
    font-weight: 750;
}

/* Status badges, if used */

.badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 850;
}

.badge-pending {
    background: #fff3d5;
    color: #805500;
}

.badge-approved {
    background: #e7f7ec;
    color: #146c3b;
}

.badge-declined,
.badge-rejected {
    background: #ffeded;
    color: #a52626;
}

/* Bottom CTA and footer */

.bottom-cta {
    margin-top: 24px;
    padding: 23px 19px;
    border-radius: var(--radius-lg);
    background: var(--brand-navy);
    color: #ffffff;
    text-align: center;
}

.bottom-cta h2 {
    margin: 0;
    color: #ffffff;
}

.bottom-cta p {
    margin: 9px 0 0;
    color: #dce5f1;
    font-size: 13px;
}

.bottom-cta .primary-button {
    max-width: 390px;
    margin-right: auto;
    margin-left: auto;
}

footer,
.site-footer {
    padding: 24px 12px 8px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.8;
    text-align: center;
}

footer a,
.site-footer a {
    color: var(--brand-blue);
    font-weight: 800;
}

/* Success notification */

.success-toast {
    position: fixed;
    z-index: 1000;
    top: 16px;
    left: 50%;
    width: calc(100% - 28px);
    max-width: 440px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 189, 0, 0.3);
    border-radius: var(--radius-md);
    background: var(--brand-navy);
    color: #ffffff;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    transform: translate(-50%, -150%);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.success-toast.show {
    transform: translate(-50%, 0);
    opacity: 1;
}

/* Tables */

.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

th,
td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: middle;
}

th {
    background: var(--brand-navy);
    color: #ffffff;
    font-size: 12px;
    font-weight: 850;
}

td {
    font-size: 13px;
}

/* Desktop */

@media (min-width: 700px) {
    .page,
    .container,
    .main-content {
        padding: 30px 24px 50px;
    }

    .hero-content {
        padding: 24px 30px 30px;
    }

    .leaderboard-heading {
        padding: 25px 26px;
    }

    .leader-row {
        padding: 16px 25px;
    }

    .section,
    .card,
    .form-card {
        padding: 26px;
    }
}

/* Small phones */

@media (max-width: 380px) {
    .header-inner {
        min-height: 66px;
        padding: 10px 12px;
        gap: 8px;
    }

    .brand {
        gap: 8px;
    }

    .brand img,
    .brand-logo {
        width: 39px;
        height: 39px;
    }

    .brand-name {
        font-size: 14px;
    }

    .brand-caption {
        font-size: 10px;
    }

    .header-pill {
        padding: 7px 8px;
        font-size: 10px;
    }

    .page,
    .container,
    .main-content {
        padding: 14px 10px 30px;
    }

    .hero-content {
        padding: 14px 12px 21px;
    }

    .countdown-section {
        padding: 17px 9px;
    }

    .countdown {
        gap: 5px;
    }

    .time-box {
        padding: 10px 2px 9px;
    }

    .time-number {
        font-size: 23px;
    }

    .time-unit {
        font-size: 9px;
    }

    .leaderboard-heading {
        padding: 17px 13px;
    }

    .leader-row {
        grid-template-columns: 33px minmax(0, 1fr) auto;
        gap: 8px;
        padding: 12px;
    }

    .rank {
        width: 32px;
        height: 32px;
    }

    .points {
        min-width: 60px;
        padding: 8px 6px;
        font-size: 11px;
    }

    .section,
    .card,
    .form-card {
        padding: 16px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}


html,
body {
    background-color: #10396c;
}

.site-header {
    background-color: #14213d;
    border-bottom: 4px solid #ffbd00;
}

.page,
.container,
.main-content {
    background-color: transparent;
}










/* =========================================
   JAI SHREE SOLAR — REFERRAL FORM
   ========================================= */

.form-topbar {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 16px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    background: #14213d;
    border-bottom: 3px solid #ffbd00;
    color: #ffffff;
}

.back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 42px;
    padding: 9px 13px;

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);

    font-size: 13px;
    font-weight: 750;
    text-decoration: none;

    transition: background 0.2s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.back-button span:first-child {
    color: #ffbd00;
    font-size: 20px;
    line-height: 1;
}

.form-brand {
    color: #ffbd00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.7px;
    text-align: right;
}

.form-card {
    width: calc(100% - 28px);
    max-width: 640px;
    margin: 22px auto;
    padding: 24px 22px;

    background: #ffffff;
    border: 1px solid #dce3ed;
    border-radius: 20px;

    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.13);
}

.form-card h1,
.form-card h2 {
    margin-top: 0;
    color: #14213d;
}

.form-card h1 {
    margin-bottom: 8px;
    font-size: clamp(24px, 5vw, 31px);
    font-weight: 900;
    letter-spacing: -0.6px;
    line-height: 1.2;
}

.form-card > p {
    margin-top: 0;
    margin-bottom: 23px;
    color: #647187;
    font-size: 14px;
    line-height: 1.7;
}

.form-group,
.form-field,
.field-group {
    margin-bottom: 19px;
}

.form-card label {
    display: block;
    margin-bottom: 8px;
    color: #14213d;
    font-size: 13px;
    font-weight: 800;
}

.form-card input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.form-card select,
.form-card textarea {
    width: 100%;
    min-height: 51px;
    padding: 13px 14px;

    border: 1px solid #ccd6e3;
    border-radius: 10px;

    background: #f9fbfd;
    color: #17243b;

    font-size: 16px;
    line-height: 1.4;

    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: #10396c;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(16, 57, 108, 0.12);
    outline: none;
}

.form-card input::placeholder,
.form-card textarea::placeholder {
    color: #8995a7;
}

.form-card button[type="submit"],
.form-card input[type="submit"],
.form-card .primary-button {
    width: 100%;
    min-height: 54px;
    margin-top: 8px;
    padding: 14px 18px;

    border: none;
    border-radius: 10px;

    background: #ffbd00;
    color: #14213d;

    font-size: 15px;
    font-weight: 900;
    text-align: center;

    box-shadow: 0 4px 0 #d99f00;
    transition: background 0.2s ease, transform 0.2s ease;
}

.form-card button[type="submit"]:hover,
.form-card input[type="submit"]:hover {
    background: #f0ad00;
}

.form-card button[type="submit"]:active,
.form-card input[type="submit"]:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #d99f00;
}

.form-card .form-help,
.form-card .help-text {
    display: block;
    margin-top: 6px;
    color: #647187;
    font-size: 12px;
    line-height: 1.5;
}

.form-card .form-error,
.form-card .error-message {
    margin-bottom: 17px;
    padding: 12px 14px;
    border: 1px solid #f2c3c0;
    border-radius: 10px;
    background: #fff0ef;
    color: #a4231b;
    font-size: 13px;
}

.form-card .form-success,
.form-card .success-message {
    margin-bottom: 17px;
    padding: 13px 14px;
    border: 1px solid #b8e6c9;
    border-radius: 10px;
    background: #edf9f0;
    color: #167a48;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .form-topbar {
        padding: 12px;
    }

    .back-button {
        min-height: 42px;
        padding: 9px 10px;
        font-size: 12px;
    }

    .form-brand {
        font-size: 10px;
    }

    .form-card {
        width: calc(100% - 22px);
        margin: 14px auto 24px;
        padding: 21px 16px;
        border-radius: 17px;
    }
}







/* ==========================================
   COMPACT PREMIUM REFERRAL FORM
   ========================================== */

.form-card {
    width: calc(100% - 32px);
    max-width: 460px;
    margin: 16px auto 25px;
    padding: 22px 20px;

    background: #e8eef7;
    border: 1px solid #c4d2e5;
    border-radius: 16px;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.form-card h1 {
    margin: 0 0 7px;
    color: #14213d;
    font-size: 25px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.form-card h2 {
    margin: 18px 0 10px;
    color: #14213d;
    font-size: 17px;
}

.form-card > p {
    margin: 0 0 17px;
    color: #53647b;
    font-size: 13px;
    line-height: 1.5;
}

/* Compact fields */

.form-card .form-group,
.form-card .form-field,
.form-card .field-group {
    margin-bottom: 13px;
}

.form-card label {
    margin-bottom: 5px;
    color: #14213d;
    font-size: 12px;
    font-weight: 800;
}

.form-card input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.form-card select,
.form-card textarea {
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #c3d0e1;
    border-radius: 9px;
    background: #ffffff;
    color: #17243b;
    font-size: 15px;
}

.form-card textarea {
    min-height: 80px;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    border-color: #10396c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 57, 108, 0.12);
}

/* Attractive submit button */

.form-card button[type="submit"],
.form-card input[type="submit"],
.form-card .primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    min-height: 49px;
    margin-top: 17px;
    padding: 12px 16px;

    border: none;
    border-radius: 10px;
    background: #ffbd00;
    color: #14213d;

    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.1px;

    box-shadow: 0 4px 0 #d99f00;
    transition: background 0.2s ease, transform 0.15s ease;
}

.form-card button[type="submit"]:hover,
.form-card input[type="submit"]:hover {
    background: #ffd04a;
}

.form-card button[type="submit"]:active,
.form-card input[type="submit"]:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #d99f00;
}

/* Reduce unnecessary text and spacing */

.form-card .form-help,
.form-card .help-text {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.4;
}

.form-card .form-error,
.form-card .error-message,
.form-card .form-success,
.form-card .success-message {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 12px;
}

@media (max-width: 480px) {
    .form-card {
        width: calc(100% - 26px);
        max-width: 420px;
        margin: 13px auto 22px;
        padding: 19px 16px;
        border-radius: 14px;
    }

    .form-card h1 {
        font-size: 23px;
    }
}






/* Referral form: compact layout */

main.form-card {
    width: calc(100% - 28px);
    max-width: 460px;
    margin: 16px auto 28px;
    padding: 20px 18px;

    background: #e8eef7;
    border: 1px solid #c4d2e5;
    border-radius: 16px;

    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

main.form-card h1 {
    margin: 0 0 6px;
    color: #14213d;
    font-size: 25px;
    line-height: 1.25;
}

main.form-card .intro {
    margin: 0 0 18px;
    color: #53647b;
    font-size: 13px;
    line-height: 1.5;
}

main.form-card h2 {
    margin: 17px 0 9px;
    color: #14213d;
    font-size: 16px;
}

main.form-card h2[style] {
    margin-top: 19px !important;
}

main.form-card label {
    display: block;
    margin: 0 0 5px;
    color: #14213d;
    font-size: 12px;
    font-weight: 800;
}

main.form-card input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]) {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0 0 12px;
    padding: 10px 12px;

    border: 1px solid #c3d0e1;
    border-radius: 9px;
    background: #ffffff;
    color: #17243b;

    font-size: 16px;
}

main.form-card input:focus {
    border-color: #10396c;
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 57, 108, 0.12);
}

main.form-card small {
    display: block;
    margin: -6px 0 12px;
    color: #53647b;
    font-size: 11px;
    line-height: 1.5;
}

main.form-card button[type="submit"] {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 49px;
    margin-top: 18px;
    padding: 12px 16px;

    border: none;
    border-radius: 10px;
    background: #ffbd00;
    color: #14213d;

    font-size: 15px;
    font-weight: 900;

    box-shadow: 0 4px 0 #d99f00;
    transition: background 0.2s ease, transform 0.15s ease;
}

main.form-card button[type="submit"]:hover {
    background: #ffd04a;
}

main.form-card button[type="submit"]:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #d99f00;
}

main.form-card .message {
    margin: 0 0 14px;
    padding: 11px 12px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.5;
}

main.form-card .message.success {
    background: #e1f5e8;
    color: #176b3c;
    border: 1px solid #b8e6c9;
}

main.form-card .message.error {
    background: #fff0ef;
    color: #a4231b;
    border: 1px solid #f2c3c0;
}

@media (max-width: 480px) {
    main.form-card {
        width: calc(100% - 24px);
        margin: 13px auto 22px;
        padding: 18px 15px;
    }

    main.form-card h1 {
        font-size: 23px;
    }
}
