/* SignaTech Başvuru Formu */
.stsi-form {
    max-width: 520px;
    margin: 0 auto;
    padding: 24px;
    background: var(--nwpe-white, #fff);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.stsi-form__row {
    margin-bottom: 18px;
}

.stsi-form__row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #334155;
}

.stsi-form__row .required {
    color: #dc2626;
}

.stsi-form__row input[type="text"],
.stsi-form__row input[type="email"],
.stsi-form__row input[type="tel"],
.stsi-form__row input[type="number"],
.stsi-form__row select,
.stsi-form__row textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
}

.stsi-form__row input:focus,
.stsi-form__row select:focus,
.stsi-form__row textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, .15);
}

.stsi-duration-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.stsi-duration-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    flex: 1 1 100px;
    text-align: center;
    min-width: 100px;
}

.stsi-duration-option:hover {
    border-color: #0ea5e9;
}

.stsi-duration-option input {
    display: none;
}

.stsi-duration-option input:checked+span {
    color: #0ea5e9;
    font-weight: 700;
}

.stsi-duration-option input:checked~.stsi-price {
    color: #0ea5e9;
}

input:checked+span+.stsi-price+.stsi-stock,
.stsi-duration-option input:checked~.stsi-stock {
    color: #0ea5e9;
}

.stsi-duration-option:has(input:checked) {
    border-color: #0ea5e9;
    background: #f0f9ff;
}

.stsi-price {
    font-weight: 600;
    color: #0f172a;
    font-size: 15px;
}

.stsi-stock {
    font-size: 11px;
    color: #94a3b8;
}

.stsi-no-product {
    color: #94a3b8;
    font-style: italic;
}

.stsi-total-row {
    padding: 16px 0 0;
    border-top: 1px solid #f1f5f9;
    font-size: 14px;
    color: #0f172a;
}

.stsi-total-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stsi-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 14px;
}

.stsi-total-line--cargo {
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
}

.stsi-total-line--grand {
    font-size: 18px;
    color: #0f172a;
    padding-top: 2px;
}

.stsi-total-line--grand #stsi_total_amount {
    color: #0ea5e9;
    font-size: 22px;
}

.stsi-free-cargo {
    color: #059669;
    font-weight: 600;
}

/* KVKK */
.stsi-kvkk-row {
    margin-top: 8px;
}

.stsi-kvkk-notice {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 13px;
    color: #1e40af;
    line-height: 1.5;
    margin-bottom: 12px;
}

.stsi-kvkk-notice p {
    margin: 0;
}

.stsi-kvkk-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.stsi-kvkk-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: auto;
}

.stsi-kvkk-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.stsi-kvkk-text a {
    color: #0ea5e9;
    text-decoration: underline;
}

/* Buton & Mesaj */
.stsi-submit-row {
    padding-top: 8px;
}

.stsi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s, transform .05s;
}

.stsi-btn--primary {
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    color: #fff;
    width: 100%;
}

.stsi-btn--primary:hover {
    opacity: .9;
}

.stsi-btn--primary:active {
    transform: scale(.98);
}

.stsi-btn--primary:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.stsi-message {
    display: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 14px;
    text-align: center;
}

.stsi-message.is-visible {
    display: block;
}

.stsi-message--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.stsi-message--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Modal Overlay */
.stsi-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.stsi-modal-overlay.is-open {
    display: flex;
}

.stsi-modal {
    background: #fff;
    border-radius: 16px;
    width: 560px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

.stsi-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.stsi-modal__header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.stsi-modal__close {
    background: none;
    border: none;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    line-height: 1;
}

.stsi-modal__close:hover {
    color: #0f172a;
}

.stsi-modal__body {
    padding: 24px;
}

/* Kargo */
.stsi-cargo-row {
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.stsi-cargo-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    transition: border-color .2s;
}

.stsi-cargo-card:hover {
    border-color: #cbd5e1;
}

.stsi-cargo-logo {
    max-height: 36px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.stsi-cargo-logo-placeholder {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.stsi-cargo-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stsi-cargo-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.stsi-cargo-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #059669;
    background: #ecfdf5;
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}

.stsi-field-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}