/* Styled Discount Cards - sdc-style.css */
.sdc-offer-card {
    background-color: #ffffff;
    border: 1px solid #e8e8e8; /* Softer border */
    border-radius: 10px; /* Slightly more rounded */
    margin-bottom: 30px; /* More spacing */
    padding: 25px 30px; /* More padding */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); /* Enhanced shadow */
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden; /* To contain any pseudo-elements if added later */
}

.sdc-offer-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.sdc-offer-main-content {
    border-left: 5px solid #28a745; /* Site's green color */
    padding-left: 20px;
    margin-bottom: 20px;
}

.sdc-brand-name {
    font-size: 1.8em; /* Larger brand name */
    color: #2c3e50; /* Dark blue-grey */
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.sdc-description {
    margin: 0 0 15px 0;
    font-size: 1em;
    color: #555;
    line-height: 1.7;
}

.sdc-offer-code-area {
    background-color: #f0f9f4; /* Light green, matching site's accents */
    border-top: 1px dashed #c8e6d7;
    margin: 25px -30px -25px -30px; /* Extend to edges */
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.sdc-code-label-wrapper {
    margin: 0;
    font-size: 1.05em;
    color: #1a5331; /* Darker green */
    line-height: 1.4;
    margin-right: 15px; /* Space before button */
}

.sdc-code-main-label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block; /* Ensures it's on its own line */
    font-size: 0.9em;
    color: #333;
}

.sdc-discount-code {
    background-color: #ffffff;
    border: 1px solid #a0d9b7;
    color: #28a745; /* Site's green */
    padding: 8px 15px; /* More padding */
    border-radius: 6px; /* More rounded */
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace; /* Modern mono font stack */
    font-size: 1.3em; /* Larger code */
    font-weight: bold;
    letter-spacing: 0.5px;
    display: inline-block;
    text-align: center;
    min-width: 120px; /* Ensure some width for the code */
}

.sdc-copy-button {
    cursor: pointer;
    padding: 10px 18px;
    background-color: #28a745; /* Site's green */
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.95em;
    user-select: none;
    font-weight: 500;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-align: center;
    min-width: 100px; /* Ensure button has some width */
}

.sdc-copy-button:hover {
    background-color: #218838; /* Darker green */
}
.sdc-copy-button:active {
    transform: translateY(1px);
}

.sdc-expert-verdict {
    margin-top: 25px; /* More space */
    padding: 20px;
    background-color: #fffbec; /* Lighter yellow/beige */
    border-left: 5px solid #ffc107; /* Amber/gold accent */
    border-radius: 0 8px 8px 0; /* Rounded corners */
    font-size: 0.95em;
    color: #725c1e; /* Darker text for better contrast on light yellow */
    line-height: 1.65;
}

.sdc-expert-verdict-label {
    display: block;
    margin-bottom: 10px;
    color: #c79100; /* Darker amber */
    font-weight: 700; /* Bolder */
    text-transform: uppercase;
    font-size: 0.9em; /* Slightly smaller */
    letter-spacing: 0.8px;
}

.sdc-expert-verdict-text {
    margin:0;
}
.sdc-expert-verdict-text p {
    margin-top: 0;
    margin-bottom: 0.5em; /* Space between paragraphs if verdict has multiple */
}
.sdc-expert-verdict-text p:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
    .sdc-offer-code-area {
        flex-direction: column;
        align-items: flex-start;
    }
    .sdc-copy-button {
        margin-top: 15px;
        width: 100%; /* Full width button on small screens */
    }
    .sdc-brand-name {
        font-size: 1.5em;
    }
    .sdc-discount-code {
        font-size: 1.1em;
        padding: 6px 10px;
    }
}
