.dat-id-wrap {
    max-width: 560px;
    margin: 20px auto;
    font-family: Arial, Helvetica, sans-serif;
    color: #17121f;
}
.dat-id-card {
    background: #fff;
    border: 1px solid #e5e0eb;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(42, 20, 64, .08);
}
.dat-id-title {
    background: linear-gradient(90deg, #15121e 40%, #5b3b82 88.76%);
    color: #fff;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    padding: 14px 12px;
}
.dat-id-subtitle {
    text-align: center;
    color: #5b3b82;
    font-size: 13px;
    padding: 12px 10px 8px;
}
.dat-id-card form {
    padding: 8px 18px 18px;
}
.dat-section-title {
    font-size: 13px;
    font-weight: 700;
    margin: 8px 0;
}
.dat-plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 8px 0 12px;
}
.dat-plan-option {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 11px;
    border: 1px solid #ddd9e5;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    transition: .15s;
}
.dat-plan-option input {
    position: absolute;
    opacity: 0;
}
.dat-plan-option.selected {
    border-color: #6a359c;
    background: #faf7ff;
    box-shadow: 0 0 0 1px #6a359c;
}
.dat-plan-name {
    font-size: 12px;
    font-weight: 700;
    color: #2c2537;
}
.dat-plan-duration {
    font-size: 10px;
    color: #777080;
    margin-top: 3px;
}
.dat-plan-price {
    font-size: 17px;
    font-weight: 700;
    color: #6a359c;
    margin-top: 7px;
}
.dat-plan-monthly {
    font-size: 10px;
    color: #777080;
    margin-top: 2px;
}
.dat-field, .dat-select {
    position: relative;
    margin: 10px 0;
}
.dat-field input, .dat-select select {
    width: 100%;
    height: 46px;
    box-sizing: border-box;
    border: 1px solid #dfe1e8;
    border-radius: 7px;
    background: #fff;
    color: #25233a;
    font-size: 13px;
    outline: none;
}
.dat-field input {
    padding: 0 12px 0 37px;
}
.dat-field input[ name=coupon_code] {
    padding-left: 12px;
}
.dat-select select {
    padding: 0 12px;
    appearance: auto;
}
.dat-field input:focus, .dat-select select:focus {
    border-color: #6a359c;
    box-shadow: 0 0 0 2px rgba(106, 53, 156, .08);
}
.dat-icon {
    position: absolute;
    left: 12px;
    top: 14px;
    color: #6d7180;
    font-size: 16px;
    z-index: 1;
}
.dat-phone-row {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 8px;
}
.dat-country {
    height: 46px;
    border: 1px solid #dfe1e8;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    font-size: 13px;
    color: #25233a;
    box-sizing: border-box;
	margin-top: 10px;
}
.dat-coupon-row {
    display: grid;
    grid-template-columns: 1fr 82px;
    gap: 8px;
    align-items: start;
}
.dat-coupon-row .dat-field {
    margin-bottom: 4px;
}
.dat-coupon-btn {
    height: 46px;
    border: 1px solid #6a359c;
    border-radius: 7px;
    background: #fff;
    color: #5b20c7;
    font-weight: 700;
    cursor: pointer;
	    margin-top: 10px;
}
.dat-coupon-btn:disabled {
    opacity: .6;
}
.dat-coupon-message {
    min-height: 16px;
    font-size: 11px;
    margin: 0 0 7px;
}
.dat-coupon-message.error {
    color: #a42020;
}
.dat-coupon-message.success {
    color: #18752a;
}
.dat-fee {
    border: 1px solid #ddd6e8;
    border-radius: 7px;
    background: #faf8fd;
    padding: 9px 12px;
    margin: 11px 0;
    color: #353044;
    font-size: 12px;
}
.dat-fee>strong {
    display: block;
    color: #6a359c;
    font-size: 23px;
    margin-top: 3px;
}
.dat-fee>div:first-child span {
    font-weight: 700;
}
.dat-discount-row, .dat-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 7px;
    font-size: 12px;
}
.dat-discount-row {
    color: #18752a;
}
.dat-discount-row span {
    font-weight: 700;
}
.dat-total-row {
    border-top: 1px solid #e4dff0;
    padding-top: 7px;
}
.dat-total-row strong {
    color: #6a359c;
    font-size: 18px;
}
.dat-payment-copy {
    padding: 4px 0 8px;
    font-size: 12px;
}
.dat-payment-copy strong {
    display: block;
    font-size: 13px;
    margin-bottom: 3px;
}
.dat-payment-copy small {
    font-size: 11px;
    color: #4f4b5c;
}
.dat-terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0;
    font-size: 11px;
    line-height: 1.5;
    color: #444;
}
.dat-terms input {
    margin-top: 2px;
    accent-color: #6a359c;
}
.dat-terms a {
    color: #5f2bb1;
}
.dat-pay-btn {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(90deg, #15121e 40%, #5b3b82 88.76%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.dat-pay-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}
.dat-secured {
    text-align: center;
    font-size: 11px;
    color: #575263;
    padding: 12px 0 2px;
}
.dat-secured strong {
    font-size: 15px;
    color: #333;
}
.dat-id-message {
    display: none;
    border-radius: 6px;
    padding: 9px 10px;
    margin: 8px 0;
    font-size: 12px;
    line-height: 1.4;
}
.dat-id-message.error {
    display: block;
    background: #fff0f0;
    color: #a42020;
    border: 1px solid #f2c6c6;
}
.dat-id-message.success {
    display: block;
    background: #effaf1;
    color: #18752a;
    border: 1px solid #bfe7c6;
}
.dat-admin-warning {
    max-width: 620px;
    margin: 30px auto;
    padding: 18px;
    border: 1px solid #f0c36d;
    background: #fff9e6;
    border-radius: 6px;
}
.loading {
    pointer-events: none;
}

/* =========================================
   Indicator Dropdown
========================================= */
					.dat-indicator-field {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dat-indicator-field label {
    display: flex;
    align-items: center;
    gap: 6px;
	font-size: 12px;
    font-weight: 700;
    color: #2c2537;
}

.dat-indicator-field input[type="radio"] {
    width: auto;
    height: auto;
    appearance: auto;
    -webkit-appearance: radio;
}
.dat-indicator-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
	margin-bottom: 25px;
}

.dat-indicator-field .dat-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    font-size: 18px;
    line-height: 1;
}

.dat-indicator-field select {
    width: 100%;
    height: 52px;
    padding: 0 45px 0 48px;
    border: 1px solid #e1dce8;
    border-radius: 10px;
    background-color: #fff;
    color: #29212f;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    outline: none;
    cursor: pointer;

    /* Remove browser default arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}



/* Hover */
.dat-indicator-field select:hover {
    border-color: #6a359c;
}

/* Focus */
.dat-indicator-field select:focus {
    border-color: #6a359c;
    box-shadow: 0 0 0 3px rgba(106, 53, 156, 0.12);
}

/* Options */
.dat-indicator-field select option {
    padding: 10px;
    background: #fff;
    color: #29212f;
}

/* Selected option */
.dat-indicator-field select option:checked {
    color: #6a359c;
    font-weight: 600;
}

/* =========================================
   PAYMENT SUCCESS POPUP
========================================= */

#dat-payment-success-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.dat-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.dat-popup-box {
    position: relative;
    z-index: 2;

    width: 90%;
    max-width: 500px;

    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);

    padding: 35px 30px;

    background: #fff;
    border-radius: 12px;

    text-align: center;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
}

#dat-payment-success-close {
    position: absolute;
    top: 8px;
    right: 12px;

    width: 35px;
    height: 35px;

    border: 0;
    background: transparent;

    font-size: 28px;
    line-height: 35px;

    cursor: pointer;

    color: #555;
}

#dat-payment-success-close:hover {
    color: #000;
}

.dat-popup-box h2 {
    margin: 0 0 20px;
    font-size: 26px;
}

#dat-payment-success-content {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.dat-payment-success-link {
    display: inline-block;

    padding: 11px 25px;

    background: #6a359c;
    color: #fff;

    border-radius: 6px;

    text-decoration: none;

    font-weight: 600;
}

.dat-payment-success-link:hover {
    color: #fff;
    opacity: 0.9;
}

@media (max-width: 600px) {

    .dat-popup-box {
        width: calc(100% - 30px);
        padding: 30px 20px;
    }

    .dat-popup-box h2 {
        font-size: 22px;
    }

    #dat-payment-success-content {
        font-size: 15px;
    }
}
/* =========================================
   Mobile
========================================= */

@media (max-width: 600px) {

    .dat-indicator-field select {
        height: 50px;
        padding-left: 45px;
        padding-right: 40px;
        font-size: 14px;
    }

    .dat-indicator-field .dat-icon {
        left: 14px;
        font-size: 17px;
    }

    .dat-indicator-field::after {
        right: 14px;
        font-size: 18px;
    }
}
@media(max-width:480px) {
    .dat-id-card form {
    padding-left: 14px;
    padding-right: 14px;
}
.dat-id-title {
    font-size: 19px;
}
.dat-phone-row {
    grid-template-columns: 74px 1fr;
}
.dat-plan-grid {
    grid-template-columns: 1fr;
}
.dat-coupon-row {
    grid-template-columns: 1fr 76px;
}
}
