/* Free Furniture Vouchers — State Sidebar Widget Frontend CSS
   Matches freefurniturevouchers.com UI — clean, minimal, outline buttons */

.ffv-widget {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    color: #1a1a2e;
    line-height: 1.5;
}

/* ── Affiliate notice ── */
.ffv-affiliate-notice {
    font-size: 11px;
    color: #999;
    font-style: italic;
    text-align: center;
    margin: 0 0 14px 0;
    line-height: 1.4;
    padding: 0 4px;
}

/* ── Section ── */
.ffv-section {
    margin-bottom: 24px;
}

.ffv-section-title {
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 12px 0;
    color: #1a1a2e;
    letter-spacing: -0.01em;
}

/* ── Button group ── */
.ffv-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: center;
}

/* ── Outline buttons ── */
.ffv-outline-btn {
    display: inline-block;
    padding: 10px 18px;
    border: 1.5px solid #1a1a2e;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a2e;
    text-decoration: none !important;
    background: #fff;
    transition: background 0.15s ease, color 0.15s ease;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.3;
}

.ffv-outline-btn:hover,
.ffv-outline-btn:focus {
    background: #1a1a2e;
    color: #fff !important;
    text-decoration: none !important;
    outline: none;
}

/* ── CTA Box ── */
.ffv-cta-box {
    border: 1.5px solid #1a1a2e;
    border-radius: 8px;
    padding: 18px 20px;
    margin-top: 4px;
}

.ffv-cta-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 9px 0;
    text-align: center;
    color: #1a1a2e;
    line-height: 1.3;
}

.ffv-cta-text {
    font-size: 15px;
    color: #555;
    text-align: center;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.ffv-cta-btn {
    display: block;
    border: 1.5px solid #1a1a2e;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e !important;
    text-decoration: none !important;
    text-align: center;
    line-height: 1.4;
    background: #fff;
    transition: background 0.15s ease, color 0.15s ease;
    cursor: pointer;
}

.ffv-cta-btn:hover,
.ffv-cta-btn:focus {
    background: #1a1a2e;
    color: #fff !important;
    text-decoration: none !important;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .ffv-btn-group {
        flex-direction: column;
        align-items: stretch;
    }
    .ffv-outline-btn {
        text-align: center;
    }
}

/* ── State Jump Dropdown ── */
.ffv-state-jump {
    border-top: 1.5px solid #e0e0e8;
    padding-top: 20px;
    margin-top: 4px;
}

.ffv-state-select {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1.5px solid #1a1a2e;
    border-radius: 6px;
    background: #fff;
    color: #1a1a2e;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a2e' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
    margin-bottom: 8px;
    display: block;
    box-sizing: border-box;
}

.ffv-state-select:focus {
    outline: none;
    border-color: #4a4a8a;
    box-shadow: 0 0 0 2px rgba(26,26,46,0.12);
}

.ffv-go-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.18s, transform 0.1s;
    box-sizing: border-box;
}

.ffv-go-btn:hover,
.ffv-go-btn:focus {
    background: #2e2e5e;
    transform: translateY(-1px);
}
