.voucher-container {
    margin: 40px auto;
    padding: 40px;
    background: #FFFFFF;
    border: 2px solid #05963E;
    border-radius: 20px;
    font-family: Arial, sans-serif;
}

.voucher-container .title {
    text-align: center;
    font-size: 22px;
    margin-bottom: 18px;
    margin-top: 30px;
}

.voucher-container label {
    display: block;
    text-align: left;
    font-weight: 700;
    color: #5e7766;
    margin: 10px 0 6px;
    font-size: 14px;
}

#voucher-box .voucher-row {
    width: 100%;
    display: block !important;
    margin-right: 10px;
}

#voucher-box label {
    display: block !important;
    width: 100%;
    margin-bottom: 6px;
}

#voucher-box input[type="text"],
#voucher-box input[type="email"],
#voucher-box input[type="tel"],
#voucher-box input[type="date"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 24px;
    margin-bottom: 8px;
    border-radius: 8px;
    border: none;
    background: #f2f2f2;
    outline: none;
}

.phone-wrapper {
    display: flex;
    flex-direction: column;
}

.phone-field {
    display: flex;
    align-items: center;
}

.phone-field .prefix {
    width: 30% !important;
    text-align: center;
    background: #e6e6e6;
    border: 1px solid #ccc;
    border-right: none;
    border-radius: 8px 0 0 8px;
    cursor: not-allowed;
}

.phone-field #v-phone {
    width: 70%;
    border: 1px solid #ccc;
    border-radius: 0 8px 8px 0;
}

.info-card {
    background-color: #2C5282;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 15px;
    border: 1px solid #BEE3F8;
}

.outer-row {
    display: flex;
}

.white-text {
    color: white !important;
}

#voucher-code{
    font-weight: bold;
    text-align: center;
    color: #2a9b41;
}

#error-msg {
    margin-top: 8px;
}

.alert-box {
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: red;
    color: #ffffff;
    width: 80%; 
    padding: 20px 30px;
    min-height: 40px;
    z-index: 9999;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideDown 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideDown {
    from { top: -60px; opacity: 0; }
    to { top: 20px; opacity: 1; }
}

#claim-btn, #back-btn {
    display: block;
    margin: 26px auto 0;
    background: #00c56e;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
}

#voucher-section {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Idinagdag din natin yung input[type="date"] sa mobile view */
@media (max-width: 480px) {
    .voucher-container {
        padding: 24px;
    }
    #voucher-box input[type="text"],
    #voucher-box input[type="email"],
    #voucher-box input[type="tel"],
    #voucher-box input[type="date"] {
        padding: 14px 18px;
        font-size: 16px;
    }
}