.srp-campaign-wrapper {
    max-width: 900px;
    margin: 30px auto;
    font-family: inherit;
    direction: rtl;
    text-align: right;
}

.srp-countdown-box {
    display: inline-block;
    padding: 14px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ff9b5b, #ff5b7f);
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(255,91,127,0.5);
}

.srp-countdown-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
}

.srp-countdown-text {
    font-size: 14px;
    margin-top: 4px;
}

.srp-countdown-finished {
    font-size: 16px;
    font-weight: 600;
}

.srp-request-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.srp-form-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px;
}

.srp-notice {
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 10px;
}

.srp-notice-error {
    background: #ffe5e5;
    color: #b40000;
}

.srp-notice-warning {
    background: #fff4d3;
    color: #7a5b00;
}

.srp-form-inner {
    margin-top: 8px;
}

.srp-form-disabled {
    opacity: 0.6;
}

.srp-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #ddd;
    padding: 8px 10px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.srp-input:focus {
    border-color: #ff5b7f;
    box-shadow: 0 0 0 2px rgba(255,91,127,0.18);
}

.srp-helper-text {
    font-size: 11px;
    color: #777;
    margin-top: 4px;
}

.srp-btn {
    margin-top: 10px;
    padding: 7px 18px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #ff5b7f, #ff9b5b);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.2s;
    box-shadow: 0 8px 18px rgba(255,91,127,0.35);
}

.srp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255,91,127,0.45);
}

.srp-btn:active {
    transform: translateY(0);
    box-shadow: 0 5px 12px rgba(255,91,127,0.3);
}

.srp-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

/* Cards layout (طرح A) */
.srp-cards-wrapper {
    margin-top: 10px;
}

.srp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(260px, 1fr));
    gap: 18px;
}

.srp-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 12px 10px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.srp-card-header {
    margin-bottom: 8px;
}

.srp-card-title {
    font-size: 14px;
    font-weight: 600;
}

/* Like button */
.srp-card-footer {
    margin-top: 6px;
    margin-bottom: 4px;
}

.srp-like-btn {
    border: none;
    background: #f7f7f7;
    border-radius: 999px;
    padding: 4px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: background 0.18s ease, transform 0.1s ease, box-shadow 0.15s ease;
}

.srp-like-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.srp-like-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.10);
}

.srp-like-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.srp-heart-icon {
    font-size: 18px;
    line-height: 1;
    display: inline-block;
    color: #222; /* خالی مشکی */
}

.srp-like-btn.srp-liked .srp-heart-icon {
    color: #ff375f; /* وقتی کاربر لایک کرده قرمز */
}

.srp-like-count {
    font-weight: 600;
    min-width: 16px;
    text-align: center;
}

/* Winner */
.srp-winner-box {
    max-width: 600px;
    margin: 24px auto;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff7f9;
    box-shadow: 0 8px 24px rgba(255,91,127,0.26);
}

.srp-winner-title {
    font-weight: 600;
}

/* Toast */
.srp-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #333;
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.srp-toast.show {
    opacity: 0.96;
    transform: translateX(-50%) translateY(0);
}

/* Responsive */
@media (max-width: 600px) {
    .srp-campaign-wrapper {
        padding: 0 8px;
    }
}
