/* Add Voucher Page Styles */

.add-voucher-page {
    background-color: #f4f7fc;
    padding: 0 20px 40px;
    min-height: 100vh;
}

/* Action Buttons */
.add-voucher-actions {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 15px 0;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-btn img {
    width: 18px;
    height: 18px;
}

.share-btn {
    color: #ed1c2f;
}

.cancel-btn {
    color: #ed1c2f;
}

/* Main Voucher Detail Card */
.voucher-detail-card {
    border-radius: 15px;
    padding: 25px 30px;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    min-height: 180px;
    margin-bottom: 20px;
}

.voucher-detail-left {
    flex: 1;
    z-index: 1;
}

.voucher-detail-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 1;
}

.voucher-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.voucher-brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 4px;
}

.voucher-brand-name {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.voucher-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.voucher-meta {
    display: flex;
    gap: 40px;
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.meta-value {
    font-size: 16px;
    font-weight: 700;
}

.voucher-number-section {
    text-align: right;
}

.voucher-number-label {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.voucher-number-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
}

.save-for-later {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
    opacity: 0.9;
}

.save-for-later:hover {
    opacity: 1;
}

.save-for-later .arrow {
    font-size: 16px;
}

.voucher-decorative {
    position: absolute;
    right: 20%;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

/* Voucher Description */
.voucher-description-section {
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 30px;
}

.voucher-description-section p {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* More Vouchers Section */
.more-vouchers-section {
    margin-top: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}

/* More Vouchers Swiper Slider */
.more-vouchers-section ._ooredoo_banner_slider_3d_ {
    position: relative;
    padding: 0 50px;
}

.more-vouchers-swiper {
    overflow: hidden;
    width: 100%;
}

.more-voucher-slide {
    box-sizing: border-box;
    height: auto;
}

.more-vouchers-section .swiper-button-next,
.more-vouchers-section .swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: box-shadow 0.2s;
}

.more-vouchers-section .swiper-button-next:hover,
.more-vouchers-section .swiper-button-prev:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.more-vouchers-section .swiper-button-next {
    right: 0;
}

.more-vouchers-section .swiper-button-prev {
    left: 0;
}

.more-vouchers-section .swiper-button-next .fa,
.more-vouchers-section .swiper-button-prev .fa {
    font-size: 20px;
    color: #3f3f3f;
}

.more-vouchers-carousel::-webkit-scrollbar {
    height: 6px;
}

.more-vouchers-carousel::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.more-vouchers-carousel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.more-voucher-card {
    flex: 0 0 320px;
    border-radius: 15px;
    padding: 20px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    scroll-snap-align: start;
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

.more-voucher-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.more-voucher-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.more-voucher-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 4px;
}

.more-voucher-partner {
    font-size: 15px;
    font-weight: 600;
}

.more-voucher-desc {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
    margin-bottom: 15px;
    flex: 1;
}

.more-voucher-footer {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

.more-voucher-points,
.more-voucher-validity {
    display: flex;
    flex-direction: column;
}

.points-label,
.validity-label {
    font-size: 11px;
    opacity: 0.8;
}

.points-value,
.validity-value {
    font-size: 14px;
    font-weight: 700;
}

/* Modal Styles */
.voucher-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.voucher-modal {
    background: white;
    border-radius: 16px;
    padding: 40px 30px 35px 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    background: transparent;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    line-height: 1;
}

.modal-close-btn:hover {
    color: #333;
}

.modal-icon {
    margin-bottom: 20px;
}

.modal-icon img {
    width: 50px;
    height: 50px;
}

.share-icon {
    color: #ed1c2f;
}

.cancel-icon {
    color: #ed1c2f;
}

.modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.modal-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.modal-text strong {
    color: #333;
}

.modal-subtext {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.modal-points {
    font-size: 14px;
    color: #666;
    margin: 15px 0 25px;
}

.modal-points strong {
    color: #ed1c2f;
    font-size: 16px;
}

.modal-ok-btn {
    background: #ed1c2f;
    color: white;
    border: none;
    padding: 12px 50px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-ok-btn:hover {
    background: #d11828;
}

.modal-ok-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.modal-cancel-btn {
    background: #fff;
    color: #ed1c2f;
    border: 1px solid #ed1c2f;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-cancel-btn:hover {
    background: #fef2f2;
}

.modal-cancel-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .voucher-detail-card {
        flex-direction: column;
        padding: 20px;
    }

    .voucher-detail-right {
        align-items: flex-start;
        margin-top: 20px;
    }

    .voucher-number-section {
        text-align: left;
    }

    .voucher-number-value {
        font-size: 22px;
    }

    .voucher-meta {
        gap: 25px;
    }

    .more-voucher-card {
        flex: 0 0 280px;
    }
}

@media (max-width: 480px) {
    .add-voucher-page {
        padding: 0 15px 30px;
    }

    .voucher-title {
        font-size: 16px;
    }

    .more-voucher-card {
        flex: 0 0 250px;
        padding: 15px;
    }
}

