/*
 Theme Name:   GDT Child Theme
 Theme URI:    https://mydomain.com
 Description:  GDT Marketplace child theme for TravelerWP. At this scaffold
               stage the child theme passes through to the TravelerWP parent
               with no template overrides. Its job right now is to (1) declare
               the parent relationship so WordPress loads TravelerWP as parent
               and (2) load the GDT plugin bridge in functions.php.
 Author:       GDT
 Template:     traveler
 Version:      0.1.0
 Text Domain:  gdt-child-theme
*/

/*
 * No custom CSS yet. Add your brand overrides below this comment
 * as you develop each feature. TravelerWP styles load first via
 * the parent enqueue in inc/bootstrap.php.
 */

.form-group.user-type,
#st-register-form .form-group.user-type,
#st-login-form .form-group.user-type,
#st-register-form .form-group:has(input[name="register_as"]),
#st-login-form .form-group:has(input[name="register_as"]),
#st-register-form .gdt-register-type-hidden,
#st-login-form .gdt-register-type-hidden {
    display: none !important;
}

.gdt-partner-signup-page .gdt-signup-shell {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.gdt-partner-signup-page .gdt-signup-shell .row {
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.gdt-partner-signup-page .gdt-partner-signup-col {
    float: none;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.gdt-partner-signup-page .gdt-auth-box {
    width: 100%;
    max-width: 700px;
    margin: 16px auto 24px;
    padding: 28px 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.gdt-partner-signup-page .traveler-signup-box {
    position: relative;
}

.gdt-partner-signup-page .traveler-signup-loading {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    text-align: center;
}

.gdt-partner-signup-page .traveler-signup-loading.is-active {
    display: flex;
}

.gdt-partner-signup-page .traveler-signup-loading__spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(11, 94, 215, 0.18);
    border-top-color: #0b5ed7;
    border-radius: 50%;
    animation: gdt-signup-spin 0.8s linear infinite;
}

.gdt-partner-signup-page .traveler-signup-loading__text {
    color: #0f172a;
    font-size: 15px;
    font-weight: 600;
}

.gdt-partner-signup-page .register_form.is-submitting button[type="submit"] {
    opacity: 0.8;
}

@media (max-width: 767px) {
    .gdt-partner-signup-page .gdt-auth-box {
        margin: 12px auto 20px;
        padding: 20px 14px;
    }
}

@keyframes gdt-signup-spin {
    to {
        transform: rotate(360deg);
    }
}

.gdt-partner-settings {
    color: #1f2937;
}

.gdt-settings-heading {
    margin-bottom: 22px;
}

.gdt-settings-heading h2 {
    margin: 0 0 4px;
    color: #1f2937;
    font-size: 22px;
    font-weight: 700;
}

.gdt-settings-heading p {
    margin: 0;
    color: #6b7280;
    font-size: 13px;
}

.gdt-settings-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.gdt-settings-card {
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
}

.gdt-settings-card-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    color: #9ca3af;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.gdt-settings-card-label span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.gdt-settings-card-title,
.gdt-status-active,
.gdt-status-inactive,
.gdt-status-pending {
    font-size: 15px;
    font-weight: 600;
}

.gdt-status-active {
    color: #10b981;
}

.gdt-status-inactive {
    color: #ef4444;
}

.gdt-status-pending {
    color: #e8722a;
}

.gdt-settings-card-sub,
.gdt-settings-card-meta {
    color: #6b7280;
    font-size: 12px;
}

.gdt-settings-card-meta {
    display: flex;
    justify-content: space-between;
}

.gdt-settings-card-meta strong {
    color: #e8722a;
}

.gdt-settings-progress {
    height: 6px;
    margin: 10px 0 6px;
    overflow: hidden;
    background: #f0f2f5;
    border-radius: 99px;
}

.gdt-settings-progress div {
    height: 100%;
    background: #e8722a;
    border-radius: 99px;
}

.gdt-settings-tabs-wrap {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
}

.gdt-settings-tab-nav {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    padding: 0 6px;
    background: #ffffff;
    border-bottom: 1px solid #e2e6ea;
}

.gdt-settings-tab-btn {
    padding: 14px 18px;
    color: #6b7280;
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    white-space: nowrap;
}

.gdt-partner-settings .gdt-settings-tab-nav button.gdt-settings-tab-btn {
    background: transparent !important;
    background-color: transparent !important;
}







.gdt-settings-tab-btn.active {
    color: #e8722a;
    border-bottom-color: #e8722a;
    font-weight: 600;
}

.gdt-settings-tab-panel {
    display: none;
    padding: 28px;
}

.gdt-settings-tab-panel.active {
    display: block;
}

.gdt-settings-alert,
.gdt-settings-note {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
}

.gdt-settings-alert-success {
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.gdt-settings-alert-danger {
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.gdt-settings-note {
    color: #9a3412;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.gdt-form-section {
    margin-bottom: 24px;
}

.gdt-form-section h4,
#gdt-payment h4,
.gdt-notify-settings h4 {
    margin: 40px 0 12px;
    color: #111827;
    font-size: 16px;
    font-weight: 700;
}

.gdt-form-card,
.gdt-cert-card,
.gdt-membership-review {
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.gdt-form-card label,
.gdt-form-card p label,
.gdt-notify-settings p,
.gdt-pay-verify small {
    color: #6b7280;
    font-size: 12px;
}

.gdt-form-card label span {
    color: #e8722a;
}

.gdt-form-card input,
.gdt-form-card textarea {
    width: 100%;
    margin: 6px 0 14px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
}

.gdt-form-card textarea {
    min-height: 120px;
}

.gdt-form-card input.is-disabled,
.gdt-form-card input:disabled {
    color: #9ca3af;
    background: #f3f4f6;
    cursor: not-allowed;
}

.gdt-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gdt-form-grid p {
    margin: 0;
}

.gdt-form-grid .gdt-form-wide {
    grid-column: 1 / -1;
}

.gdt-gst-registered {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 64px;
    color: #374151;
    font-size: 12px;
}

.gdt-gst-registered span {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}

.gdt-gst-registered strong {
    color: #e8722a;
    font-size: 12px;
}

.gdt-gst-registered label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #374151;
    font-size: 12px;
    cursor: pointer;
}

.gdt-gst-registered input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-content: center;
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    border: 1px solid #cfd6df;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

.gdt-gst-registered input[type="radio"]::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
    transform: scale(0);
}

.gdt-gst-registered input[type="radio"]:checked {
    border-color: #f05a1a;
    background: #f05a1a;
}

.gdt-gst-registered input[type="radio"]:checked::before {
    transform: scale(1);
}

.gdt-business-type-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 8px;
    color: #1f2937;
    font-size: 12px;
    line-height: 1.2;
}

.gdt-business-type-heading span {
    font-weight: 500;
}

.gdt-business-type-heading strong {
    color: #e8722a;
    font-size: 12px;
    font-weight: 700;
}

.gdt-business-type-heading small {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 400;
}

.gdt-business-types {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
    margin: 0 0 16px;
}

.gdt-toggle {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #374151;
    font-size: 13px;
}

.gdt-business-types label {
    display: flex;
    align-items: center;
    gap: 10px ;
    min-height: 34px;
    margin: 0;
    padding: 7px 10px;
    color: #4b5563;
    background: #ffffff;
    border: 1px solid #d8cec5;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.gdt-business-types label:hover {
    border-color: #f97316;
}

.gdt-business-types label.is-selected,
.gdt-business-types label:has(input:checked) {
    color: #111827;
    background: #fff7ed;
    border-color: #ff4b00;
}

.gdt-business-types input[type="checkbox"] {
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    background: #ffffff;
    border: 1px solid #e8722a;
    border-radius: 2px;
    cursor: pointer;
    vertical-align: middle;
}

.gdt-business-types input[type="checkbox"]:checked {
    background: #ffffff;
    border-color: #e8722a;
}

.gdt-business-types input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 2px;
    width: 4px;
    height: 7px;
    border: solid #e8722a;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.gdt-business-types label span {
    color: inherit;
    line-height: 16px;
    padding-left:6px;
}

.gdt-pay-verify,
.gdt-pay-schedule {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.gdt-pay-verify p {
    margin: 4px 0 0;
}

.gdt-cert-card {
    padding: 26px 28px;
    border-color: #d9e1ea;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.gdt-cert-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
}

.gdt-cert-heading {
    display: flex;
    gap: 14px;
    align-items: center;
}

.gdt-cert-heading h4 {
    margin: 0 0 4px;
    color: #1E293B;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.488px;
    text-transform: uppercase;
}

.gdt-cert-heading small {
    display: block;
    color: #64748b;
    font-size: 13px;
    line-height: 20px;
}

.gdt-cert-heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 40px;
    height: 50px;
    background: #FFF6E6;
    border-radius: 8px;
    color: #1d2d4d;
}

.gdt-cert-heading-icon svg {
    display: block;
    width: 30px;
    height: 30px;
}

.gdt-file-btn.gdt-cert-add-btn {
    min-height: 40px;
    padding: 9px 18px;
    background: linear-gradient(180deg, #ff7433 0%, #fb4f14 100%);
    border-color: #fb4f14;
    box-shadow: 0 8px 18px rgba(251, 79, 20, 0.16);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.gdt-cert-body {
    display: grid;
    gap: 16px;
}

.gdt-cert-list {
    display: grid;
    gap: 16px;
}

.gdt-cert-item {
    display: grid;
    grid-template-columns: 46px minmax(180px, 1fr) minmax(210px, auto);
    gap: 16px;
    align-items: center;
    min-height: 96px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 8px;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.gdt-cert-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transform: translateY(-1px);
}

.gdt-cert-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    min-height: 30px;
    padding: 6px 11px;
    color: #087f3d;
    background: #e8f8ed;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.gdt-cert-status.is-not_submitted,
.gdt-cert-status.is-not-submitted,
.gdt-cert-status.is-failed {
    color: #991b1b;
    background: #fee2e2;
}

.gdt-cert-file-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #1d2d4d;
    background: #eafaf0;
    border: 0;
    border-radius: 8px;
}

.gdt-cert-file-icon svg {
    display: block;
    width: 30px;
    height: 30px;
}

.gdt-cert-details {
    min-width: 0;
}

.gdt-cert-details strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #0f172a;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gdt-cert-date-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    align-items: center;
    margin-top: 7px;
}

.gdt-cert-details p,
.gdt-cert-details a {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 7px 0 0;
    color: #64748b;
    font-size: 12px;
    line-height: 18px;
}

.gdt-cert-date-row p {
    margin: 0;
}

.gdt-cert-details a {
    color: #0f62fe;
    text-decoration: none;
}

.gdt-cert-date-icon,
.gdt-cert-view-icon,
.gdt-cert-shield-icon {
    position: relative;
    flex: 0 0 auto;
    width: 14px;
    height: 14px;
}

.gdt-cert-date-icon {
    border: 2px solid #7b8494;
    border-radius: 3px;
}

.gdt-cert-date-icon::before {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    top: 4px;
    border-top: 2px solid #7b8494;
}

.gdt-cert-view-icon {
    border: 2px solid #0f62fe;
    border-radius: 50% 50% 45% 45%;
    transform: scaleX(1.35);
}

.gdt-cert-view-icon::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 4px;
    height: 4px;
    background: #0f62fe;
    border-radius: 50%;
}

.gdt-cert-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-end;
}

.gdt-cert-delete {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 7px 13px;
    color: #b91c1c;
    background: #ffffff;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.gdt-cert-delete:hover {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fca5a5;
}

.gdt-cert-empty {
    padding: 32px;
    color: #6b7280;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    text-align: center;
}

.gdt-cert-empty strong {
    display: block;
    color: #111827;
    font-size: 14px;
}

.gdt-cert-empty p {
    margin: 8px 0 0;
}

.gdt-cert-pending {
    margin-top: 16px;
    padding: 14px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

.gdt-cert-pending[hidden] {
    display: none;
}

.gdt-cert-pending-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.gdt-cert-pending-head strong {
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    line-height: 18px;
}

.gdt-cert-pending-head span {
    color: #64748b;
    font-size: 12px;
    line-height: 18px;
}

.gdt-cert-pending-list {
    display: grid;
    gap: 8px;
}

.gdt-cert-pending-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: end;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

.gdt-cert-pending-fields {
    display: grid;
    grid-template-columns: minmax(180px, 1.3fr) minmax(150px, 0.85fr) minmax(150px, 0.85fr) auto;
    gap: 10px;
    align-items: start;
    min-width: 0;
}

.gdt-cert-pending-field {
    display: grid;
    gap: 5px;
    min-width: 0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    line-height: 15px;
}

.gdt-cert-pending-field input {
    width: 100%;
    min-width: 0;
    height: 38px;
    box-sizing: border-box;
    padding: 8px 10px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #d8e0e8;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    box-shadow: none;
}

.gdt-cert-pending-field input:focus {
    border-color: #ff5a1f;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.12);
}

.gdt-cert-pending-upload-wrap {
    display: grid;
    gap: 4px;
    align-self: start;
    margin-top: 16px;
}

.gdt-cert-pending-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    width: 88px;
    height: 38px;
    box-sizing: border-box;
    padding: 8px 14px;
    color: #ffffff;
    background: linear-gradient(180deg, #ff7433 0%, #fb4f14 100%);
    border: 1px solid #fb4f14;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(251, 79, 20, 0.14);
}

.gdt-cert-pending-upload:disabled {
    color: #94a3b8;
    background: #eef2f7;
    border-color: #d8e0e8;
    box-shadow: none;
    cursor: not-allowed;
}

.gdt-cert-pending-upload-note {
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
    line-height: 14px;
    text-align: center;
    white-space: nowrap;
}

.gdt-cert-pending-name {
    grid-column: 1 / 4;
    overflow: hidden;
    color: #0f172a;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.72;
}

.gdt-cert-pending-status {
    color: #087f3d;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
}

.gdt-cert-pending-remove {
    padding: 0;
    color: #64748b;
    background: transparent;
    border: 0;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    cursor: pointer;
}

.gdt-cert-pending-remove:hover {
    color: #dc2626;
}

.gdt-cert-secure-note {
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    margin-top: 22px;
    color: #64748b;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

.gdt-cert-shield-icon {
    width: 16px;
    height: 18px;
    border: 2px solid #34c207;
    border-radius: 8px 8px 10px 10px;
}

.gdt-cert-shield-icon::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 4px;
    width: 3px;
    height: 6px;
    border: solid #8a94a6;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.gdt-file-btn,
.gdt-primary-btn,
.gdt-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.gdt-primary-btn,
.gdt-file-btn {
    color: #ffffff;
    background: #e8722a;
    border: 1px solid #e8722a;
}

.gdt-secondary-btn {
    color: #4b5563;
    background: #ffffff;
    border: 1px solid #d1d5db;
}

.gdt-hidden-file {
    display: none !important;
}

.gdt-membership-boxes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gdt-membership-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.gdt-membership-card.is-selected {
    border-color: #ea580c;
    box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.2);
}

.gdt-membership-card .package-item,
.gdt-membership-card .item-member-ship {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}

.gdt-membership-card .item-member-ship .item-st .title,
.gdt-membership-card .item-member-ship .item-st .price,
.gdt-membership-card .item-member-ship .item-st .time-packpage,
.gdt-membership-card .item-member-ship .item-st .pricingContent,
.gdt-membership-card .item-member-ship .item-st .button-get,
.gdt-membership-card .package-item .package-head h2,
.gdt-membership-card .package-item .package-head .des,
.gdt-membership-card .package-item .price,
.gdt-membership-card .package-item .package-des,
.gdt-membership-card .package-item form {
    padding-left: 20px;
    padding-right: 20px;
}

.gdt-membership-card .item-member-ship .item-st .title,
.gdt-membership-card .package-item .package-head h2 {
    padding-top: 20px;
}

.gdt-membership-card .item-member-ship .item-st .button-get,
.gdt-membership-card .package-item form {
    padding-bottom: 20px;
}

.gdt-membership-review {
    margin-top: 18px;
}

.gdt-membership-alert {
    display: none;
    margin-top: 10px;
    color: #991b1b;
    font-size: 12px;
}

.gdt-membership-alert.is-visible {
    display: block;
}

.gdt-membership-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.gdt-membership-submit:disabled,
.gdt-membership-submit[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.gdt-agreement-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.5);
}

.gdt-agreement-modal.is-open {
    display: flex;
}

.gdt-agreement-dialog {
    position: relative;
    width: min(560px, 100%);
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.gdt-agreement-dialog h3 {
    margin: 0 36px 12px 0;
    color: #111827;
    font-size: 20px;
    font-weight: 700;
}

.gdt-agreement-dialog p {
    margin: 0 0 12px;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

.gdt-agreement-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    padding: 0;
    color: #6b7280;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.gdt-agreement-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

.gdt-toggle {
    margin-bottom: 10px;
}

.gdt-partner-settings #gdt-profile .partner-page-title {
    display: none;
}

.gdt-partner-settings #gdt-profile .partner-package-info {
    padding: 18px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row {
    margin: 0;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(1),
.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(2) {
    display: none;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) {
    display: grid;
    float: none;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) h5,
.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p {
    margin: 0;
    text-align: left;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) h5 {
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p {
    color: #111827;
    font-size: 14px;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) h5:nth-of-type(1),
.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p:nth-of-type(1) {
    grid-column: 1;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) h5:nth-of-type(2),
.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p:nth-of-type(2) {
    grid-column: 2;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p:nth-of-type(3) {
    grid-column: 3;
    position: relative;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p:nth-of-type(3)::before {
    content: "Time remaining";
    position: absolute;
    left: 0;
    top: -28px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) h5:nth-of-type(3),
.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p:nth-of-type(4) {
    grid-column: 4;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) h5:nth-of-type(1),
.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) h5:nth-of-type(2),
.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) h5:nth-of-type(3) {
    grid-row: 1;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p:nth-of-type(1),
.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p:nth-of-type(2),
.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p:nth-of-type(3),
.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p:nth-of-type(4) {
    grid-row: 2;
    min-height: 74px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p strong {
    font-weight: 700;
}

.gdt-partner-settings #gdt-profile .partner-package-info > a.btn[href*="member"],
.gdt-partner-settings #gdt-profile .partner-package-info > a.btn[href*="membership"],
.gdt-partner-settings #gdt-profile .partner-package-info > a.btn[href*="package"] {
    display: none;
}

.gdt-partner-settings #gdt-profile .infor-st-setting .form-group:has(input[name="st_paypal_email"]),
.gdt-partner-settings #gdt-profile .infor-st-setting .form-group:has(textarea[name="st_bio"]) {
    display: none;
}

.gdt-partner-settings #gdt-profile .infor-st-setting form > .row:nth-of-type(2) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.gdt-partner-settings #gdt-profile .infor-st-setting form > .row:nth-of-type(2)::before,
.gdt-partner-settings #gdt-profile .infor-st-setting form > .row:nth-of-type(2)::after {
    display: none;
}

.gdt-partner-settings #gdt-profile .infor-st-setting form > .row:nth-of-type(2) > [class*="col-"] {
    display: contents;
    float: none;
    width: auto;
    padding: 0;
}

.gdt-partner-settings #gdt-profile .infor-st-setting form > .row:nth-of-type(2) > [class*="col-"]:has(textarea[name="st_bio"]) {
    display: contents;
}

.gdt-partner-settings #gdt-profile .infor-st-setting form > .row:has(h4[style*="margin-top: 30px"]),
.gdt-partner-settings #gdt-profile .infor-st-setting form > .row:has(input[name="st_airport"]),
.gdt-partner-settings #gdt-profile .infor-st-setting form > .row:has(input[name="st_airport"]) + .row {
    display: none;
}

.gdt-partner-settings #gdt-profile .infor-st-setting:has(input[name="btn_update_pass"]) {
    display: none;
}

.gdt-partner-settings #gdt-security .infor-st-setting h4 {
    margin: 0 0 28px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.gdt-partner-settings #gdt-security .form-group label {
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
}

.gdt-partner-settings #gdt-security .form-control {
    height: 40px;
    border-color: #d8e0e8;
    border-radius: 3px;
    box-shadow: none;
}

.gdt-partner-settings #gdt-security .st-line-bg {
    margin: 20px 0 14px;
}

@media (max-width: 900px) {
    .gdt-settings-cards,
    .gdt-membership-boxes,
    .gdt-business-types {
        grid-template-columns: 1fr 1fr;
    }

    .gdt-cert-item {
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 14px;
    }

    .gdt-cert-file-icon {
        width: 46px;
        height: 46px;
    }

    .gdt-cert-actions {
        grid-column: 2;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px;
    }

    .gdt-cert-pending-item {
        grid-template-columns: 1fr auto auto;
    }

    .gdt-cert-pending-fields {
        grid-column: 1 / -1;
        grid-template-columns: 1fr 1fr auto;
    }

    .gdt-cert-pending-field-title {
        grid-column: 1 / -1;
    }

    .gdt-cert-pending-name {
        grid-column: 1 / 3;
    }
}

@media (max-width: 640px) {
    .gdt-settings-cards,
    .gdt-form-grid,
    .gdt-membership-boxes,
    .gdt-business-types {
        grid-template-columns: 1fr;
    }

    .gdt-pay-verify,
    .gdt-pay-schedule {
        align-items: stretch;
        flex-direction: column;
    }

    .gdt-cert-card {
        padding: 18px;
    }

    .gdt-cert-header,
    .gdt-cert-heading,
    .gdt-cert-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gdt-cert-heading {
        gap: 12px;
    }

    .gdt-cert-heading h4 {
        font-size: 16px;
        line-height: 24px;
    }

    .gdt-cert-heading small,
    .gdt-cert-delete,
    .gdt-cert-status {
        font-size: 13px;
    }

    .gdt-file-btn.gdt-cert-add-btn,
    .gdt-cert-delete {
        width: 100%;
    }

    .gdt-cert-item {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 16px;
    }

    .gdt-cert-file-icon {
        width: 46px;
        height: 46px;
    }

    .gdt-cert-actions {
        grid-column: 1;
        justify-content: flex-start;
    }

    .gdt-cert-pending-head,
    .gdt-cert-pending-item {
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .gdt-cert-pending-fields {
        grid-template-columns: 1fr;
    }

    .gdt-cert-pending-name {
        grid-column: 1;
    }

    .gdt-cert-pending-status,
    .gdt-cert-pending-upload,
    .gdt-cert-pending-remove {
        justify-self: flex-start;
    }

    .gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) {
        grid-template-columns: 1fr;
    }

    .gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) h5,
    .gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .gdt-partner-settings #gdt-profile .partner-package-info > .row > .col-sm-4:nth-child(3) p {
        min-height: 0;
    }

    .gdt-partner-settings #gdt-profile .infor-st-setting form > .row:nth-of-type(2) {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
