.whmcs-dc-wrap {
    max-width: 540px;
    margin-top: 10px;
    margin-bottom: 0px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    font-family: inherit;
}

/* --- Desktop & All Screens --- */
.whmcs-dc-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7em;
    margin-bottom: 0.5em;
    align-items: stretch;
}

.whmcs-dc-form input[type="text"],
.whmcs-dc-form button {
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    box-sizing: border-box;
    border-radius: 8px;
    font-size: 1.08em;
}

.whmcs-dc-form input[type="text"] {
    flex: 2 1 200px;
    padding: 10px 14px;
    border: 1.5px solid #b1b9c4;
    outline: none;
    background: #f9fbff;
    color: #222;
}

.whmcs-dc-form button {
    flex: 1 0 110px;
    background: #ff871a !important; /* Orange */
    color: #fff !important;
    border: none;
    font-weight: 600;
    padding: 0 18px;
    cursor: pointer;
    transition: background 0.2s;
    align-self: stretch;
    box-shadow: none;
}

.whmcs-dc-form button:hover {
    background: #008ee6 !important; /* Blue */
    color: #fff !important;
}

.whmcs-dc-table-wrap {
    overflow-x: auto;
    text-align: center;
}

.whmcs-dc-table {
    margin: 0 auto;
    width: 99%;
    border-collapse: collapse;
    font-size: 1em;
    background: #fcfdff;
}

.whmcs-dc-table th,
.whmcs-dc-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #e2eaf3;
    text-align: center;
}

.whmcs-dc-table th {
    background: #e9f2fc;
    font-weight: 600;
}

.whmcs-dc-checkbox {
    width: 20px;
    height: 20px;
}

/* --- Updated Add to Cart Button Styling --- */
button.whmcs-dc-cart-btn, .whmcs-dc-cart-btn {
    display: block !important;
    margin: 24px auto 0 auto !important;
    padding: 13px 38px !important;
    background: #ff871a !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1.12em !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    text-align: center !important;
    transition: background 0.2s !important;
}
button.whmcs-dc-cart-btn:hover, .whmcs-dc-cart-btn:hover {
    background: #008ee6 !important;
    color: #fff !important;
}
button.whmcs-dc-cart-btn:disabled, .whmcs-dc-cart-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}


.whmcs-dc-status-available {
    color: #39b54a;
    font-weight: 600;
}

.whmcs-dc-status-unavailable {
    color: #f15723;
    font-weight: 600;
}

.whmcs-dc-price {
    font-weight: 600;
}

/* --- Mobile Screens --- */
@media (max-width: 540px) {
    .whmcs-dc-wrap {
        padding: 1em 0.6em;
    }
    .whmcs-dc-form {
        flex-direction: column;
        gap: 0.5em;
    }
    .whmcs-dc-form input[type="text"],
    .whmcs-dc-form button {
        width: 100%;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
        font-size: 1.08em;
        border-radius: 8px;
        box-sizing: border-box;
        box-shadow: none;
        padding-left: 14px;
        padding-right: 14px;
    }
    .whmcs-dc-form input[type="text"] {
        resize: none;
        overflow: hidden;
        line-height: 1.1;
        padding-top: 12px;
        padding-bottom: 12px;
    }
    .whmcs-dc-form button {
        padding-top: 0;
        padding-bottom: 0;
    }
}
