/* assets/css/msd-gv.css */
.msd-voucher-grid, .msd-gv-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.msd-voucher-box, .msd-gv-card {
    border: 1px solid #ccc;
    padding: 15px;
    width: calc(33.33% - 20px);
    box-sizing: border-box;
    position: relative;
}
.msd-terms-icon {
    display: inline-block;
    margin-left: 5px;
    color: #0073aa;
    cursor: pointer;
}
.msd-terms-icon:hover {
    color: #00a0d2;
}

/* Modal styles */
.msd-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right:0;
    bottom:0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
}
.msd-modal-content {
    background: #fff;
    width: 90%;
    max-width: 500px;
    margin: 100px auto;
    padding: 20px;
    position: relative;
}
.msd-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.msd-modal-close {
    cursor: pointer;
    font-size: 24px;
}
.msd-modal-footer {
    margin-top: 20px;
    text-align: right;
}
.msd-modal-footer button {
    margin-left: 10px;
}

/* Message modal styles */
.msd-message-modal {
    position: fixed;
    top: 0;
    left: 0;
    right:0;
    bottom:0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
}
.msd-message-content-wrapper {
    background: #fff;
    width: 90%;
    max-width: 400px;
    margin: 150px auto;
    padding: 20px;
    text-align: center;
}
.msd-message-close {
    margin-top: 20px;
    cursor: pointer;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
}
div > div.msd-modal-body > p > p {
    max-height: 159px;
    overflow: scroll;
    overflow-y: auto;
    overflow-x: hidden;
    background: #eee;
    padding: 20px;
}

/* New Voucher Card Styles */
.coupon-card {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    margin-bottom: 20px;
  }
  
  .discount-section {
    display: none !important;
   
  }
  
  .discount-value {
    font-size: 2em;
    font-weight: bold;
    color: #333;
  }
  
  .discount-label {
    font-size: 1em;
    color: #777;
  }
  
  .divider {
    border-bottom: 1px dashed #ccc;
    width: 100%;
    margin: 10px 0;
  }
  
  .details h2 {
    font-size: 1.2em;
    margin: 10px 0;
    color: #333;
  }
  
  .product-code {
    display: block;
    font-size: 0.85em;
    color: #555;
    margin-bottom: 5px;
  }
  
  .terms-link {
    font-size: 0.85em;
    color: #0073aa;
    text-decoration: none;
    margin-bottom: 10px;
  }
  
  .terms-link:hover {
    text-decoration: underline;
  }
  
  .claim-button {
    background-color: #0073aa;
    border: none;
    border-radius: 4px;
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background-color 0.2s ease;
    color: #fff;
  }
  
  .claim-button:hover {
    background-color: #1a80d9;
  }
  .divider {
    border-right: 1px dashed #ccc !important;
    height: 60px !important;
    /* margin: 0 10px !important; */
    border-bottom: 0px;
    width: 1px;
}.details h2 {
    margin: 0 0 5px 0 !important;
    font-size: 1.2em !important;
    color: #333 !important;
    text-align: left;
}.product-code {
    display: block;
    font-size: 0.85em;
    color: #555;
    margin-bottom: 5px;
    text-align: left;
}.terms-link {
    font-size: 0.85em !important;
    color: #0073aa !important;
    text-decoration: none !important;
    margin-top: 5px !important;
    display: none;
} .coupon-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    padding: 10px 16px !important;
    font-size: 0.95em !important;
    transition: background-color 0.2s ease !important;
    margin-bottom: 20px;
}
.discount-section {
    display: none !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-right: 10px !important;
}
.discount-value {
    font-size: 1.8em !important;
    font-weight: bold !important;
    color: #333 !important;
}
.discount-label {
    font-size: 0.9em !important;
    color: #777 !important;
}
.divider {
    border-right: 1px dashed #ccc !important;
    height: 60px !important;
    border-bottom: 0px !important;
    width: 1px !important;
    margin: 0 10px !important;
}
.details {
    flex: 1 !important;
    flex: 1 !important;
    justify-content: start !important;
    display: flex !important;
    flex-direction: column !important;

}
.details h2 {
    margin: 0 0 5px 0 !important;
    font-size: 1.2em !important;
    color: #333 !important;
    text-align: left !important;
}
.product-code {
    display: block !important;
    font-size: 0.85em !important;
    color: #555 !important;
    margin-bottom: 5px !important;
    text-align: left !important;
}
.terms-link {
    font-size: 0.85em !important;
    color: #0073aa !important;
    text-decoration: none !important;
    margin-top: 5px !important;
    display: none !important;
}
.claim-button {
    background-color: #0073aa !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 10px 16px !important;
    cursor: pointer !important;
    font-size: 0.95em !important;
    transition: background-color 0.2s ease !important;
}
.claim-button:hover {
    background-color: #1a80d9 !important;
}



.details {
    flex: 1 !important;
    display: flex !important
;
    justify-content: start !important;
    text-align: left;
}.details {
    flex: 1 !important;
    padding-right: 15px;
}
button.msd-modal-agree {
    background: #264fb7;
    padding: 14px;
    border: 0px;
    border-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    color: #fff;
    width: auto;
}
button.msd-modal-cancel {
    background: #a59696;
    padding: 14px;
    border: 0px;
    border-radius: 5px;
}button.online-redeem-button {
    margin-bottom: 10px !important;
}

@media only screen and (max-width: 767px) {
    .divider {
        border-top: 1px dashed #ccc !important;
        height: 18px !important;
        width: 231px !important;
        margin: 0 10px !important;
        border: none;
        border-right: 0px !important;
        display: none;
    }