@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ==========================================================
   WISEGROUP PAYTICKET
   PREMIUM MOBILE-FIRST INTERFACE
   VERSION 2.0
========================================================== */

:root {

    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;

    --navy: #0f172a;
    --navy-light: #1e293b;

    --background: #f8fafc;
    --surface: #ffffff;

    --text: #0f172a;
    --text-secondary: #475569;
    --muted: #64748b;

    --border: #e2e8f0;

    --success: #059669;
    --success-bg: #ecfdf5;

    --warning: #d97706;
    --warning-bg: #fffbeb;

    --danger: #dc2626;
    --danger-bg: #fef2f2;

    --radius: 16px;
    --radius-large: 24px;

    --shadow:
        0 8px 30px rgba(15, 23, 42, 0.045);

    --shadow-large:
        0 18px 45px rgba(15, 23, 42, 0.08);

}

/* ==========================================================
   RESET
========================================================== */

*,
*::before,
*::after {

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

    -webkit-text-size-adjust: 100%;

}

body {

    margin: 0;

    min-width: 320px;

    background: var(--background);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    font-size: 15px;

    line-height: 1.65;

    overflow-wrap: break-word;

}

a {

    color: var(--primary);

    text-decoration: none;

}

a:hover {

    text-decoration: underline;

}

button,
input,
textarea,
select {

    font-family: inherit;

}

button {

    cursor: pointer;

}

button:disabled {

    opacity: .55;

    cursor: not-allowed;

}

:focus-visible {

    outline: 3px solid #93c5fd;

    outline-offset: 3px;

}

/* ==========================================================
   SKIP LINK
========================================================== */

.skip-link {

    position: absolute;

    left: 12px;

    top: -100px;

    background: var(--navy);

    color: white;

    padding: 12px 18px;

    z-index: 9999;

}

.skip-link:focus {

    top: 12px;

}

/* ==========================================================
   HEADER
========================================================== */

.site-header {

    background: white;

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

    position: relative;

    z-index: 100;

}

.header-container {

    width: 100%;

    max-width: 1200px;

    min-height: 78px;

    margin: auto;

    padding: 0 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}

/* ==========================================================
   BRAND
========================================================== */

.brand {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    text-decoration: none;

    white-space: nowrap;

}

.brand:hover {

    text-decoration: none;

}

.brand-mark {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    border-radius: 12px;

    background: linear-gradient(
        135deg,
        #1d4ed8,
        #3b82f6
    );

    color: white;

    font-size: 21px;

    font-weight: 800;

}

.brand-name {

    color: var(--navy);

    font-size: 20px;

    font-weight: 700;

    letter-spacing: -.6px;

}

.brand-name strong {

    color: var(--primary);

}

/* ==========================================================
   DESKTOP NAVIGATION
========================================================== */

.desktop-nav {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 4px;

}

.nav-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding: 9px 13px;

    border-radius: 10px;

    color: #334155;

    font-size: 13px;

    font-weight: 700;

    transition: background .15s;

}

.nav-link:hover {

    background: var(--primary-light);

    color: var(--primary-dark);

    text-decoration: none;

}

.nav-link.active {

    background: var(--primary-light);

    color: var(--primary-dark);

}

.nav-primary {

    background: var(--primary);

    color: white;

    padding: 10px 18px;

}

.nav-primary:hover {

    background: var(--primary-dark);

    color: white;

}

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

.mobile-menu {

    display: none;

    position: relative;

}

.mobile-menu-toggle {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 44px;

    padding: 9px 13px;

    background: #eff6ff;

    color: var(--primary-dark);

    border: 1px solid #dbeafe;

    border-radius: 11px;

    font-weight: 700;

    font-size: 13px;

    cursor: pointer;

    list-style: none;

}

.mobile-menu-toggle::-webkit-details-marker {

    display: none;

}

.menu-icon {

    font-size: 23px;

    line-height: 1;

}

.menu-label {

    font-size: 13px;

}

.mobile-nav {

    position: absolute;

    top: calc(100% + 10px);

    right: 0;

    width: min(290px, calc(100vw - 30px));

    padding: 10px;

    background: white;

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

    border-radius: 16px;

    box-shadow: var(--shadow-large);

    display: flex;

    flex-direction: column;

    gap: 4px;

}

.mobile-nav-link {

    display: block;

    width: 100%;

    padding: 13px 15px;

    border-radius: 10px;

    color: var(--navy);

    font-weight: 600;

    font-size: 14px;

}

.mobile-nav-link:hover {

    background: var(--primary-light);

    color: var(--primary);

    text-decoration: none;

}

/* ==========================================================
   MAIN PAGE
========================================================== */

.site-main,
main {

    width: 100%;

    max-width: 1160px;

    min-height: 65vh;

    margin: 30px auto 60px;

    padding: 0 20px;

}

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

h1,
h2,
h3 {

    color: var(--navy);

    letter-spacing: -.035em;

    line-height: 1.2;

}

h1 {

    font-size: clamp(28px, 4vw, 40px);

    margin: 0 0 15px;

}

h2 {

    font-size: clamp(21px, 3vw, 27px);

}

h3 {

    font-size: 18px;

}

p {

    margin: 0 0 16px;

}

.muted {

    font-size: 13px;

    color: var(--muted);

    line-height: 1.7;

    overflow-wrap: anywhere;

}

/* ==========================================================
   HERO
========================================================== */

.hero {

    position: relative;

    overflow: hidden;

    background: linear-gradient(
        130deg,
        #0f172a 0%,
        #1e3a8a 55%,
        #2563eb 100%
    );

    border-radius: 24px;

    padding: 65px 54px;

    margin-bottom: 26px;

    box-shadow:
        0 18px 45px rgba(30, 64, 175, .16);

    color: white;

}

.hero::after {

    content: "";

    position: absolute;

    right: -100px;

    top: -120px;

    width: 350px;

    height: 350px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,.12);

    pointer-events: none;

}

.hero h1 {

    color: white;

    max-width: 800px;

    font-size: clamp(32px, 5vw, 54px);

    line-height: 1.12;

    margin: 17px 0 20px;

}

.hero p {

    max-width: 680px;

    color: #dbeafe;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 24px;

}

.hero.small {

    padding: 38px 42px;

}

.hero.small h1 {

    font-size: clamp(28px, 4vw, 38px);

}

.hero .btn {

    background: white;

    color: #1d4ed8;

}

.hero .btn:hover {

    background: #eff6ff;

}

/* ==========================================================
   PILLS
========================================================== */

.pill {

    display: inline-flex;

    align-items: center;

    padding: 6px 13px;

    border-radius: 40px;

    background: #dbeafe;

    color: #1d4ed8;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .06em;

    line-height: 1.4;

}

/* ==========================================================
   GRID
========================================================== */

.grid {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(min(100%, 250px), 1fr)
        );

    gap: 18px;

}

/* ==========================================================
   CARDS
========================================================== */

.grid article,
.card,
article {

    background: white;

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

    border-radius: 18px;

    padding: 26px;

    margin: 0 0 18px;

    box-shadow: var(--shadow);

}

.grid article {

    margin: 0;

}

.card {

    max-width: 850px;

    margin: 0 auto 26px;

}

.narrow {

    max-width: 540px;

}

article h3 {

    margin-top: 0;

}

.card > h1:first-child {

    margin-bottom: 12px;

}

/* ==========================================================
   FORMS
========================================================== */

label {

    display: block;

    font-size: 14px;

    font-weight: 700;

    color: #334155;

    margin: 18px 0 12px;

}

input,
textarea,
select {

    display: block;

    width: 100%;

    max-width: 100%;

    min-height: 49px;

    margin-top: 7px;

    padding: 12px 14px;

    border: 1px solid #cbd5e1;

    border-radius: 12px;

    background: white;

    color: var(--navy);

    font-size: 16px;

    transition:
        border-color .15s,
        box-shadow .15s;

}

input:focus,
textarea:focus,
select:focus {

    outline: none;

    border-color: var(--primary);

    box-shadow:
        0 0 0 4px rgba(37,99,235,.10);

}

input::placeholder,
textarea::placeholder {

    color: #94a3b8;

}

textarea {

    resize: vertical;

    min-height: 115px;

}

input[type="file"] {

    padding: 10px;

    height: auto;

}

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

button,
.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-height: 47px;

    padding: 12px 19px;

    border: none;

    border-radius: 12px;

    background: var(--primary);

    color: white;

    font-family: inherit;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.4;

    text-align: center;

    cursor: pointer;

    max-width: 100%;

    transition:
        background .15s,
        transform .15s;

}

button:hover,
.btn:hover {

    background: var(--primary-dark);

    text-decoration: none;

}

button:active,
.btn:active {

    transform: translateY(1px);

}

.secondary,
button.secondary,
.btn.secondary {

    background: #e2e8f0;

    color: var(--navy);

}

.secondary:hover,
button.secondary:hover,
.btn.secondary:hover {

    background: #cbd5e1;

}

.danger,
button.danger {

    background: #b91c1c;

    color: white;

}

.danger:hover,
button.danger:hover {

    background: #991b1b;

}

/* ==========================================================
   NOTICES
========================================================== */

.notice {

    padding: 17px 19px;

    margin: 19px 0;

    background: #eff6ff;

    border: 1px solid #bfdbfe;

    border-left: 4px solid var(--primary);

    border-radius: 12px;

    color: #1e3a8a;

    overflow-wrap: anywhere;

    line-height: 1.75;

}

.notice.good {

    background: #ecfdf5;

    border-color: #6ee7b7;

    border-left-color: #059669;

    color: #065f46;

}

/* ==========================================================
   PRICE OPTIONS
========================================================== */

.price {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    min-height: 65px;

    padding: 17px 20px;

    margin: 12px 0;

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

    border-radius: 13px;

    background: white;

    color: var(--primary);

    font-size: 15px;

    font-weight: 800;

    transition:
        border-color .15s,
        background .15s;

}

.price:hover {

    border-color: var(--primary);

    background: #eff6ff;

    text-decoration: none;

}

/* ==========================================================
   PAYMENT AMOUNT
========================================================== */

.amount {

    font-size: clamp(29px, 5vw, 40px);

    font-weight: 800;

    letter-spacing: -.035em;

    color: var(--navy);

    margin: 10px 0 20px;

}

/* ==========================================================
   ACTION BUTTON GROUPS
========================================================== */

.actions {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

}

/* Give adjacent dashboard buttons proper spacing */

.hero .btn + .btn {

    margin-left: 8px;

    margin-top: 8px;

}

/* ==========================================================
   TABLES
========================================================== */

table {

    width: 100%;

    border-collapse: collapse;

}

th,
td {

    padding: 13px 11px;

    text-align: left;

    vertical-align: top;

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

    overflow-wrap: anywhere;

}

th {

    background: #f8fafc;

    color: #475569;

    font-size: 13px;

}

td {

    font-size: 14px;

}

/* ==========================================================
   FOOTER
========================================================== */

.site-footer,
footer {

    background: white;

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

    padding: 35px 20px;

    color: var(--muted);

}

.footer-container {

    max-width: 1160px;

    margin: 0 auto;

}

.footer-brand span {

    color: var(--navy);

    font-weight: 800;

    font-size: 18px;

}

.footer-brand strong {

    color: var(--primary);

}

.footer-brand p {

    font-size: 13px;

    margin-top: 8px;

    color: #475569;

}

.footer-information {

    max-width: 630px;

    font-size: 13px;

    line-height: 1.8;

    margin-top: 15px;

}

.footer-bottom {

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

    padding-top: 20px;

    margin-top: 22px;

    font-size: 12px;

}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

    .desktop-nav {

        display: none;

    }

    .mobile-menu {

        display: block;

    }

    .header-container {

        min-height: 69px;

        padding: 0 20px;

    }

}

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

@media (max-width: 650px) {

    .header-container {

        min-height: 65px;

        padding: 0 15px;

        gap: 10px;

    }

    .brand {

        gap: 8px;

    }

    .brand-mark {

        width: 34px;

        height: 34px;

        font-size: 18px;

        border-radius: 10px;

    }

    .brand-name {

        font-size: 17px;

        letter-spacing: -.7px;

    }

    .mobile-menu-toggle {

        min-height: 42px;

        padding: 8px 11px;

    }

    main,
    .site-main {

        padding: 0 15px;

        margin: 20px auto 42px;

    }

    h1 {

        font-size: 28px;

    }

    .hero {

        padding: 32px 24px;

        border-radius: 20px;

        margin-bottom: 20px;

    }

    .hero h1 {

        font-size: clamp(30px, 8vw, 36px);

        line-height: 1.14;

        margin: 13px 0 16px;

    }

    .hero p {

        font-size: 15px;

        line-height: 1.7;

        margin-bottom: 20px;

    }

    .hero.small {

        padding: 27px 23px;

    }

    .hero.small h1 {

        font-size: 28px;

    }

    .hero::after {

        right: -240px;

    }

    .grid {

        gap: 14px;

    }

    .grid article,
    .card,
    article {

        padding: 20px;

        border-radius: 16px;

    }

    .actions {

        flex-direction: column;

        align-items: stretch;

    }

    .actions .btn {

        width: 100%;

    }

    .hero .btn + .btn {

        margin-left: 0;

        margin-top: 10px;

    }

    .card form > button {

        width: 100%;

        min-height: 50px;

    }

    .footer-brand span {

        font-size: 17px;

    }

}

/* ==========================================================
   SMALL MOBILE SCREENS
========================================================== */

@media (max-width: 390px) {

    .brand-name {

        font-size: 15px;

    }

    .brand-mark {

        width: 31px;

        height: 31px;

    }

    .menu-label {

        display: none;

    }

    .hero {

        padding: 28px 21px;

    }

    .hero h1 {

        font-size: 29px;

    }

    .card,
    article,
    .grid article {

        padding: 18px;

    }

}

/* ==========================================================
   RESPONSIVE TABLES
========================================================== */

@media (max-width: 600px) {

    table {

        display: block;

        overflow-x: auto;

        -webkit-overflow-scrolling: touch;

    }

    th,
    td {

        white-space: nowrap;

    }

}

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

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

    html {

        scroll-behavior: auto;

    }

    * {

        transition: none !important;

        animation: none !important;

    }

}