.cad-coupon-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cad-coupon-popup {
    background: #ffffff;
    width: 500px;
    max-width: 90%;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.cad-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
    color: #999;
}

.cad-popup-logo {
    width: 220px;
    height: auto;
    display: none;
}

.cad-popup-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.cad-popup-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.cad-popup-code-container {
    display: block !important;
    margin-bottom: 20px;
}

.cad-popup-code {
    display: flex;
    background: #f4f4f4;
    border: 1px dashed #ddd;
    border-radius: 5px;
    padding: 10px;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.cad-popup-code-text {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin: 0 auto;
}

.cad-popup-copy-btn {
    background: linear-gradient(to right, #004aad, #00c6ff);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cad-popup-copy-btn:hover {
    opacity: 0.9;
}

.cad-popup-website-btn {
    display: none;
    background: linear-gradient(to right, #004aad, #8f94fb);
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 5px;
    margin-top: 15px;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.cad-popup-website-btn:hover {
    opacity: 0.9;
    color: #ffffff;
}

.cad-coupons-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cad-coupon-box {
    display: flex;
    border: 2px dashed #004aad;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    border-radius: 10px;
}
.cad-logo-container {
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 10%;
    height: 80px;
    flex-shrink: 0;
}

.cad-coupon-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.cad-left {
    text-align: center;
    min-width: 120px;
    padding: 15px;
}

.cad-discount {
    font-size: 24px;
    font-weight: bold;
    color: #004aad;
    margin-bottom: 10px;
}

.cad-label {
    background: #004aad;
    color: #ffffff;
    padding: 8px;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
}

.cad-middle {
    flex: 1;
    padding: 0 20px;
}

.cad-middle h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #333;
}

.cad-description {
    font-size: 16px;
    color: #666;
}

.cad-right {
    text-align: right;
}

.cad-button {
    background: linear-gradient(to right, #004aad, #8f94fb);
    color: #ffffff;
    padding: 12px 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.cad-button:hover {
    opacity: 0.9;
    color: #fff;
}
.gradient-mask {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 45%;
	border-radius: 5px;
    background: linear-gradient(to right, #004aad, #00bfff);
    z-index: 2;
	clip-path: polygon(
        0% 0%, 100% 0%, 100% 5%, 97% 10%, 100% 15%, 97% 20%, 100% 25%, 97% 30%,
        100% 35%, 97% 40%, 100% 45%, 97% 50%, 100% 55%, 97% 60%, 100% 65%, 97% 70%,
        100% 75%, 97% 80%, 100% 85%, 97% 90%, 100% 95%, 100% 100%, 0% 100%
    );
    transform: perspective(600px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow:
        20px 20px 40px rgba(0, 0, 0, 0.6),
        -10px -10px 20px rgba(255, 255, 255, 0.15),
        inset -6px -6px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* hover effect for interaction */
.gradient-mask:hover {
    box-shadow:
        15px 15px 35px rgba(0, 0, 0, 0.5),
        -10px -10px 20px rgba(255, 255, 255, 0.1),
        inset -4px -4px 10px rgba(0, 0, 0, 0.2);
    transform: perspective(600px) rotateY(-18deg) rotateX(2deg);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .cad-coupon-box {
        flex-direction: column;
        text-align: center;
    }
    .cad-middle {
        padding: 10px 0;
    }
    .cad-right {
        margin-top: 15px;
        text-align: center;
        width: 100%;
    }
}
@media (max-width: 768px) {
    .cad-coupon-box {
        flex-wrap: wrap;
    }
    
    .cad-logo-container {
        width: 100%;
        margin: 10px 0;
    }
}