:root {
    --shopsmart-bg: #ffffff;
    --shopsmart-input-border: #cccccc;
    --shopsmart-btn-bg: #2f2f2f;
}

.shopsmart-loyalty-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 15px;
    font-family: Arial, sans-serif;
}

.shopsmart-card {
    border: 2px solid var(--shopsmart-btn-bg);
    border-radius: 12px;
    padding: 30px;
    background: var(--shopsmart-bg);
}

.shopsmart-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 22px;
    font-weight: 600;
}

.shopsmart-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
}

.field.full {
    width: 100%;
}

.field.half {
    width: calc(50% - 10px);
}

.field label {
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
}

.field input,
.field select {
    height: 44px !important;
    padding: 0 12px !important ;
    border-radius: 6px !important;
    border: 1px solid var(--shopsmart-input-border) !important;
    font-size: 14px !important;
}

.dob-fields {
    display: flex;
    gap: 10px;
}

.dob-fields select {
    flex: 1;
}

.shopsmart-btn {
    width: 100%;
    height: 48px;
    border: none;
    background: var(--shopsmart-btn-bg);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
}

.shopsmart-btn:hover {
    background: #000;
    color: #fff;
}

@media (max-width: 768px) {
    .field.half {
        width: 100%;
    }
}

/* Loyalty history section */
.loyaltyHistorySec {
    display: flex;
    justify-content: center;
    border: 1px solid #ccc;
    padding: 70px 0;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
}

#shopsmart-loyalty-phone {
    width: 440px;
}

.loyaltyPhoneBtn {
    width: 640px;
    display: flex;
    justify-content: space-between;
}

#shopsmart-get-history-btn {
    border-radius: 80px;
    width: 190px;
}

#shopsmart-loyalty-history-result {
    margin-top: 40px;
    width: 100% !important;
}
.loyalty-history-table {
     width: 100% !important;
}
#shopsmart-loyalty-history-result * {
    font-size: 14px !important;

}

#shopsmart-loyalty-history-result th {
    font-weight: bold;
}
