.pokiddo-checkout-codes {
    margin: 0 0 26px;
    padding: 22px;
    background: #fff;
    border: 1px solid #eee7f5;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(70, 40, 104, .08);
    font-family: "Jost", sans-serif;
}

.pokiddo-code-section {
    display: grid;
    gap: 14px;
}

.pokiddo-code-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pokiddo-code-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    background: #fff5c4;
    border-radius: 50%;
    font-size: 19px;
}

.pokiddo-code-heading h3 {
    margin: 0 0 3px;
    color: #674197;
    font-size: 18px;
    font-weight: 700;
}

.pokiddo-code-heading p {
    margin: 0;
    color: #777;
    font-size: 13px;
    line-height: 1.45;
}

.pokiddo-code-divider {
    height: 1px;
    margin: 20px 0;
    background: linear-gradient(90deg, transparent, #e8dff0 15%, #e8dff0 85%, transparent);
}

.pokiddo-code-form {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.pokiddo-code-form input {
    flex: 1;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #dcd2e7;
    border-radius: 12px;
    color: #222;
    font-size: 14px;
    outline: none;
}

.pokiddo-code-form input:focus {
    border-color: #674197;
    box-shadow: 0 0 0 3px rgba(103, 65, 151, .12);
}

.pokiddo-code-form .button {
    min-height: 46px;
    margin: 0;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #674197;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.pokiddo-promo-form .button {
    background: #f4b400;
    color: #262020;
}

.pokiddo-code-form .button:disabled {
    opacity: .65;
    cursor: wait;
}

.pokiddo-applied-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    background: #faf7fd;
    border: 1px solid #e3d9ec;
    border-radius: 12px;
}

.pokiddo-applied-voucher {
    background: #fff9db;
    border-color: #f4b400;
}

.pokiddo-applied-code strong,
.pokiddo-applied-code small,
.pokiddo-code-label {
    display: block;
}

.pokiddo-code-label {
    margin-bottom: 2px;
    color: #777;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.pokiddo-applied-code strong {
    color: #302039;
    font-size: 15px;
}

.pokiddo-applied-code small {
    margin-top: 2px;
    color: #666;
    font-size: 12px;
}

.pokiddo-applied-code .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-height: 30px;
    flex: 0 0 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #674197;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.pokiddo-applied-promos {
    display: grid;
    gap: 8px;
    margin-bottom: 10px;
}

.pokiddo-code-message {
    min-height: 18px;
    margin-top: 7px;
    color: #27833b;
    font-size: 13px;
    font-weight: 600;
}

.pokiddo-code-message.is-error {
    color: #b42318;
}

/* Keep the native WooCommerce coupon available. The Pokiddo panel simply
   gives it a clearer, separate promo-code section. */

@media (max-width: 575px) {
    .pokiddo-checkout-codes {
        padding: 17px;
        border-radius: 14px;
    }

    .pokiddo-code-form {
        flex-direction: column;
    }

    .pokiddo-code-form .button {
        width: 100%;
    }
}
