/* Coupon Grid */
.coupon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 20px 0;
}

/* Individual Coupon Card */
.coupon-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-direction: column;
}

.coupon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* Dotted Box */
.dotted-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border: 2px dashed #00418E;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 12px;
}

.dotted-box:hover {
    background-color: #f8f9fa;
}

/* Coupon Code */
.coupon-code {
    font-family: "Outfit", sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #00418E;
    text-transform: capitalize;
    margin: 0;
}

/* Copy Button */
.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #00418E;
    font-size: 16px;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #e6f2ff;
}

/* Discount Text */
.discount-text {
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #222222;
    line-height: 1.4;
    margin: 8px 0;
    text-align: left;
}

/* Valid Till Wrapper */
.valid-till-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    padding: 4px 0;
}

/* Valid Till Badge - Exact styles from your reference */
.valid-till {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
    background-color: #DADADA;
    padding: 0px 10px 0px 10px;
    border-radius: 50px;
    width: fit-content;
    flex-shrink: 0;
    transition: color 0.3s;
}

.valid-till svg {
    width: 14px;
    height: 14px;
    fill: #000000;
}

/* Logo Image */
.logo-container {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.5;
}

/* Success Message Below Coupon Box */
.copy-success-message {
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    margin-top: 10px;
    font-family: "Outfit", sans-serif;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.copy-success-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copy-success-content svg {
    flex-shrink: 0;
}

.copy-notification svg {
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .coupon-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .coupon-card {
        padding: 12px;
    }

    .dotted-box {
        padding: 10px 14px;
    }

    .coupon-code {
        font-size: 20px;
    }

    .discount-text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .coupon-card {
        padding: 10px;
    }

    .dotted-box {
        padding: 8px 12px;
    }

    .logo-container {
        width: 24px;
        height: 24px;
        bottom: 12px;
        right: 12px;
    }
}