/* Kampanya sayfası (/kampanya/{slug}). Arka planlar adım bazında view içinden data-step ile atanır. */
.se-cmp {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    background-color: #1d2b22;
    background-image: linear-gradient(135deg, #1f3a24 0%, #2f6d2b 55%, #4db748 100%);
    background-size: cover;
    background-position: center;
    transition: background-image .35s ease;
}

.se-cmp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .25);
    pointer-events: none;
}

.se-cmp-container {
    position: relative;
    z-index: 1;
}

.se-cmp-card {
    max-width: 520px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .97);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    padding: 32px 28px;
}

.se-cmp-progress {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    font-size: 13px;
    color: var(--se-text-muted);
}

.se-cmp-progress li {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--se-gray-200);
    transition: color .35s ease;
}

/* Adıma gelindiğinde / tamamlandığında alt çubuk soldan sağa yeşille dolar. */
.se-cmp-progress li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 3px;
    width: 0;
    background: var(--se-primary);
    border-radius: 3px;
    transition: width .55s cubic-bezier(.22, .61, .36, 1);
}

.se-cmp-progress li.is-active::after,
.se-cmp-progress li.is-done::after { width: 100%; }

.se-cmp-progress li span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--se-gray-200);
    font-weight: 700;
    font-size: 12px;
    /* Yaylı easing: aktif adıma geçince daire hafifçe "zıplayarak" büyür. */
    transition: background .4s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease;
}

.se-cmp-progress li.is-active,
.se-cmp-progress li.is-done {
    color: var(--se-dark-green);
}

.se-cmp-progress li.is-active span,
.se-cmp-progress li.is-done span {
    background: var(--se-primary);
    color: #fff;
}

/* Aktif adım büyür ve yeşil hale ile öne çıkar. */
.se-cmp-progress li.is-active span {
    transform: scale(1.18);
    box-shadow: 0 0 0 5px rgba(77, 183, 72, .22);
}

/* Tamamlanan adımda numara yerine onay işareti (hafifçe belirir). */
.se-cmp-progress li.is-done span { font-size: 0; }
.se-cmp-progress li.is-done span::after {
    content: "\2713";
    font-size: 13px;
    font-weight: 700;
    animation: seCmpCheck .35s ease both;
}

@keyframes seCmpCheck {
    from { opacity: 0; transform: scale(.4); }
    to { opacity: 1; transform: scale(1); }
}

.se-cmp-step { display: none; }
.se-cmp-step.is-active { display: block; animation: seCmpIn .4s cubic-bezier(.22, .61, .36, 1); }

@keyframes seCmpIn {
    from { opacity: 0; transform: translateY(14px) scale(.985); }
    to { opacity: 1; transform: none; }
}

/* Hareket hassasiyeti olan kullanıcılar için animasyonları kapat. */
@media (prefers-reduced-motion: reduce) {
    .se-cmp-step.is-active { animation: none; }
    .se-cmp-progress li,
    .se-cmp-progress li::after,
    .se-cmp-progress li span { transition: none; }
    .se-cmp-progress li.is-done span::after { animation: none; }
    .se-cmp-progress li.is-active span { transform: none; }
}

.se-cmp-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--se-text-dark);
}

.se-cmp-desc, .se-cmp-lead {
    color: var(--se-gray-700);
    margin-bottom: 20px;
}

.se-cmp-desc p:last-child { margin-bottom: 0; }

.se-cmp-result {
    font-size: 18px;
    font-weight: 600;
    color: var(--se-dark-green);
}

.se-cmp .form-control,
.se-cmp .form-select {
    padding: 11px 14px;
    border-radius: 8px;
}

.se-cmp .form-control:focus,
.se-cmp .form-select:focus {
    border-color: var(--se-primary);
    box-shadow: 0 0 0 .2rem rgba(77, 183, 72, .2);
}

.se-cmp .form-control.is-invalid { border-color: var(--se-danger); }

.se-cmp-plate { text-transform: uppercase; }
/* Uygulama indirme QR'ı yalnızca büyük ekranda (masaüstü) gösterilir; mobilde butonlar yeterli. */
.se-cmp-qr { display: none; margin: 1.25rem auto 0; text-align: center; }
.se-cmp-qr-text { font-size: .85rem; color: var(--se-muted, #6b7280); margin-bottom: .6rem; }
.se-cmp-qr-box { display: inline-block; padding: .6rem; background: #fff; border: 1px solid #e5e7eb; border-radius: .6rem; line-height: 0; }
.se-cmp-qr-box img, .se-cmp-qr-box canvas { width: 160px !important; height: 160px !important; display: block; }
@media (min-width: 768px) { .se-cmp-qr { display: block; } }

.se-cmp-legal {
    font-size: 12px;
    color: var(--se-text-muted);
}

/* Uygulama adımı: indirme onayı. İleri butonu onay verilmeden pasif. */
.se-cmp-app-hint {
    font-size: 13px;
    color: #b45309;
    background: rgba(245, 158, 11, .12);
    border-radius: 8px;
    padding: 8px 12px;
    margin: 0 0 12px;
}

.se-cmp-confirm {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin: 0 0 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    text-align: left;
}

.se-cmp-confirm .form-check-input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    cursor: pointer;
}

.se-cmp-confirm .form-check-input:checked { background-color: var(--se-primary); border-color: var(--se-primary); }
.se-cmp-confirm .form-check-input:disabled { cursor: not-allowed; }
.se-cmp-confirm .form-check-label { font-size: 14px; font-weight: 500; line-height: 1.4; cursor: pointer; }
.se-cmp-confirm .form-check-input:disabled + .form-check-label { opacity: .6; cursor: not-allowed; }

.se-cmp-btn:disabled { opacity: .55; cursor: not-allowed; }

.se-cmp-btn {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    color: #fff;
}

.se-cmp-btn:hover, .se-cmp-btn:focus { color: #fff; }

.se-cmp-hp {
    position: absolute !important;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.se-cmp-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(77, 183, 72, .12);
    color: var(--se-primary);
}

.se-cmp-icon-success { background: var(--se-primary); color: #fff; }
.se-cmp-icon-muted { background: var(--se-gray-200); color: var(--se-gray-600); }

.se-cmp-stores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.se-cmp-store {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    border: 2px solid transparent;
    line-height: 1.2;
    font-weight: 600;
}

.se-cmp-store:hover { color: #fff; background: #000; }
.se-cmp-store i { font-size: 26px; }
.se-cmp-store small { display: block; font-weight: 400; font-size: 11px; opacity: .8; }
.se-cmp-store.is-recommended { border-color: var(--se-primary); box-shadow: 0 0 0 3px rgba(77, 183, 72, .25); }

@media (max-width: 575px) {
    .se-cmp { padding: 100px 0 40px; align-items: flex-start; }
    .se-cmp-card { padding: 24px 18px; border-radius: 12px; }
    .se-cmp-title { font-size: 22px; }
    .se-cmp-stores { grid-template-columns: 1fr; }
    .se-cmp-progress { font-size: 12px; }
}
