:root {
    --wise-coupon-accent: #7bb35e;
    --wise-coupon-bg: #ffffff;
    --wise-coupon-text: #333333;
    --wise-coupon-width: 900px;
}

.wise-coupon-wrapper {
    max-width: var(--wise-coupon-width);
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.wise-coupon-container {
    display: flex;
    align-items: center;
    border: 2px dashed #333;
    padding: 25px;
    background: var(--wise-coupon-bg);
    position: relative;
    gap: 30px;
}

/* Left Section: Discount Badge */
.wise-coupon-left {
    flex: 0 0 140px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.wise-coupon-discount {
    background: #fff;
    padding: 20px 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--wise-coupon-text);
    border-bottom: 1px solid #eee;
}

.wise-coupon-label {
    background: var(--wise-coupon-accent);
    color: #fff;
    padding: 8px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
}

/* Middle Section: Content */
.wise-coupon-middle {
    flex: 1;
}

.wise-coupon-title {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

.wise-coupon-description {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}

/* Right Section: Code & Expiry */
.wise-coupon-right {
    flex: 0 0 200px;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 100px;
}

.wise-coupon-code-wrap {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 20px;
}

.wise-coupon-show-code {
    background: var(--wise-coupon-accent);
    color: #fff;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    display: block;
    clip-path: polygon(0% 0%, 85% 0%, 100% 100%, 0% 100%);
}

.wise-coupon-code-reveal {
    display: none;
    background: #f9f9f9;
    color: var(--wise-coupon-accent);
    border: 2px dashed var(--wise-coupon-accent);
    padding: 10px;
    font-family: monospace;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.wise-coupon-code-wrap.revealed .wise-coupon-show-code {
    display: none;
}

.wise-coupon-code-wrap.revealed .wise-coupon-code-reveal {
    display: block;
    clip-path: none;
}

.wise-coupon-code-reveal.copy-success {
    background: #e1f5fe;
    border-color: #03a9f4;
    color: #01579b;
}

/* Scissor Icon via Pseudo-element */
.wise-coupon-code-reveal::before {
    content: '✂';
    margin-right: 8px;
    font-style: normal;
}

.wise-coupon-expiry {
    font-size: 14px;
    color: var(--wise-coupon-accent);
    font-weight: 500;
}

.wise-coupon-expiry .expired-text {
    color: #e63946;
    font-weight: 700;
}

/* Styles */
.wise-coupon-wrapper.style-2 .wise-coupon-label {
    background: #e63946;
}
.wise-coupon-wrapper.style-2 .wise-coupon-show-code {
    background: #e63946;
}
.wise-coupon-wrapper.style-2 .wise-coupon-expiry {
    color: #e63946;
}

.wise-coupon-wrapper.style-3 {
    --wise-coupon-bg: #3498db;
    --wise-coupon-text: #fff;
}
.wise-coupon-wrapper.style-3 .wise-coupon-container {
    color: #fff;
    border-color: #fff;
}
.wise-coupon-wrapper.style-3 .wise-coupon-title,
.wise-coupon-wrapper.style-3 .wise-coupon-description {
    color: #fff;
}
.wise-coupon-wrapper.style-3 .wise-coupon-left {
    box-shadow: none;
}
.wise-coupon-wrapper.style-3 .wise-coupon-label {
    background: #000;
}
.wise-coupon-wrapper.style-3 .wise-coupon-show-code {
    background: #fff;
    color: #3498db;
    border: 1px solid #fff;
}
.wise-coupon-wrapper.style-3 .wise-coupon-expiry {
    color: #fff;
}
.wise-coupon-wrapper.style-3 .wise-coupon-code-reveal {
     background: #fff;
     color: #3498db;
}

/* Expired state */
.wise-coupon-wrapper.is-expired .wise-coupon-container {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .wise-coupon-container {
        flex-direction: column;
        text-align: center;
    }
    .wise-coupon-right {
        text-align: center;
        align-items: center;
    }
    .wise-coupon-show-code {
        clip-path: none;
    }
}
