.ghtma-wrap {
    max-width: 540px;
    margin: 48px auto 70px;
    padding: 0 16px
}

.ghtma-card {
    background: #fff;
    border: 1px solid #e4eaf0;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(15, 52, 87, .1);
    overflow: hidden
}

.ghtma-head {
    background: linear-gradient(135deg, #153e62, #168fce);
    color: white;
    text-align: center;
    padding: 30px 25px 25px
}

.ghtma-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px
}

.ghtma-head h2 {
    color: white;
    font-size: 23px;
    line-height: 1.3;
    margin: 0 0 5px
}

.ghtma-head p {
    color: #dceefa;
    margin: 0
}

.ghtma-tabs {
    display: flex;
    border-bottom: 1px solid #e4eaf0
}

.ghtma-tab {
    flex: 1;
    border: 0;
    background: #f6f9fc;
    padding: 16px 5px;
    font-size: 14px;
    color: #34516b;
    cursor: pointer
}

.ghtma-tab.active {
    color: #147eb6;
    background: white;
    border-bottom: 3px solid #ff9f1c;
    font-weight: 700
}

.ghtma-panel {
    padding: 26px 30px 30px
}

.ghtma-panel[hidden] {
    display: none
}

.ghtma-panel label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #294760;
    margin-bottom: 17px
}

.ghtma-panel label > input:not([type=checkbox]) {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cbd7e1;
    border-radius: 9px;
    padding: 12px;
    margin-top: 7px;
    font-size: 15px;
    background: white;
    color: #243a50
}

.ghtma-panel label > input:focus {
    outline: 2px solid #168fce;
    outline-offset: 1px
}

.ghtma-panel .ghtma-check {
    display: flex;
    gap: 9px;
    align-items: center;
    font-weight: 400
}

.ghtma-submit {
    background: #168fce;
    color: #fff;
    border: 0;
    border-radius: 9px;
    padding: 13px 18px;
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer
}

.ghtma-submit:hover {
    background: #126f9e
}

.ghtma-message {
    margin: 18px 30px 0;
    padding: 12px;
    background: #eef7fd;
    border-left: 3px solid #168fce;
    border-radius: 6px;
    color: #23455d
}

.ghtma-hint {
    font-size: 13px;
    color: #64778a;
    line-height: 1.6
}

.ghtma-signed {
    padding: 30px;
    text-align: center
}

@media (max-width: 420px) {
    .ghtma-panel {
        padding: 22px 18px
    }

    .ghtma-tab {
        font-size: 12px
    }
}


/* Ensure the theme cannot override text on the gradient header */
.ghtma-card .ghtma-head,
.ghtma-card .ghtma-head h2,
.ghtma-card .ghtma-head .ghtma-mark { color: #fff !important; }
.ghtma-card .ghtma-head p { color: #dceefa !important; }




/* ============================================================
   GHT MEMBER ACCESS - COMPACT HEADER
   ============================================================ */
.ghtma-head {
    padding: 24px 25px !important;
}

.ghtma-head h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
    margin: 12px 0 8px !important;
}

.ghtma-head p {
    font-size: 14px !important;
    margin: 0 !important;
}

.ghtma-mark {
    width: 52px !important;
    height: 52px !important;
    font-size: 18px !important;
    margin-bottom: 8px !important;
}