/* Stalker to M3U Converter — dark navy theme to match IPTV Information sites */

.smc-wrap {
    max-width: 720px;
    margin: 40px auto;
    padding: 0 16px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.smc-card {
    background: linear-gradient(145deg, #0f1a30 0%, #0a1326 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.45);
    color: #e8edf7;
    margin-bottom: 20px !important;
}

.smc-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px !important;
    color: #ffffff !important;
    line-height: 1.25;
}

.smc-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px !important;
    color: #ffffff !important;
}

.smc-sub {
    color: #a9b6cf;
    font-size: 15px;
    margin: 0 0 24px !important;
    line-height: 1.5;
}

.smc-field {
    margin-bottom: 18px;
}

.smc-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #c7d2e8;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.smc-req { color: #4dd0e1; }

.smc-field input[type="text"],
.smc-field input[type="email"],
.smc-select {
    width: 100%;
    box-sizing: border-box;
    background: #0a1120;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 12px 14px;
    color: #fff;
    font-size: 15px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.smc-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%2376829c' stroke-width='1.5' fill='none' fill-rule='evenodd'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

.smc-field input[type="text"]:focus,
.smc-field input[type="email"]:focus,
.smc-select:focus {
    outline: none;
    border-color: #2fd5c8;
    box-shadow: 0 0 0 3px rgba(47,213,200,0.15);
}

.smc-field small {
    display: block;
    color: #76829c;
    font-size: 12px;
    margin-top: 6px;
}

.smc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
}

@media (max-width: 480px) {
    .smc-grid { grid-template-columns: 1fr; }
}

.smc-checkbox-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.smc-checkbox {
    display: flex !important;
    align-items: center;
    gap: 8px;
    text-transform: none !important;
    font-weight: 500 !important;
    color: #e8edf7 !important;
    font-size: 14px !important;
    cursor: pointer;
}

.smc-checkbox input { width: 16px; height: 16px; accent-color: #2fd5c8; }

.smc-email-field {
    background: rgba(47,213,200,0.06);
    border: 1px solid rgba(47,213,200,0.2);
    border-radius: 10px;
    padding: 14px 16px;
}

.smc-disclosure {
    font-size: 12px;
    color: #76829c;
    line-height: 1.5;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
    padding: 12px 14px;
    margin: 18px 0 22px !important;
}

.smc-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.smc-btn-primary {
    background: linear-gradient(135deg, #2fd5c8, #1ea8e0);
    color: #04101f;
    box-shadow: 0 6px 18px rgba(47,213,200,0.3);
}

.smc-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(47,213,200,0.4); }
.smc-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.smc-btn-secondary {
    background: transparent;
    color: #c7d2e8;
    border: 1px solid rgba(255,255,255,0.18);
    margin-top: 10px;
}
.smc-btn-secondary:hover { border-color: #2fd5c8; color: #2fd5c8; }

.smc-error {
    margin-top: 16px;
    background: rgba(255,77,79,0.1);
    border: 1px solid rgba(255,77,79,0.35);
    color: #ff8b8d;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
}

/* Step 2: progress */
.smc-progress { text-align: center; padding: 20px 0; }

.smc-spinner {
    width: 44px;
    height: 44px;
    margin: 0 auto 18px;
    border: 4px solid rgba(47,213,200,0.15);
    border-top-color: #2fd5c8;
    border-radius: 50%;
    animation: smc-spin 0.9s linear infinite;
}

@keyframes smc-spin { to { transform: rotate(360deg); } }

#smc-progress-text { color: #c7d2e8; font-size: 15px; margin-bottom: 18px !important; }

.smc-progress-bar-track {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    overflow: hidden;
}

.smc-progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2fd5c8, #1ea8e0);
    transition: width 0.3s ease;
}

/* Step 3 & 4: info grid */
.smc-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    margin-bottom: 8px;
}

@media (max-width: 480px) {
    .smc-info-grid { grid-template-columns: 1fr; }
}

.smc-info-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 10px 14px;
}

.smc-info-item .smc-info-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #76829c;
    letter-spacing: 0.03em;
    margin-bottom: 4px;
}

.smc-info-item .smc-info-value {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    word-break: break-word;
}

.smc-info-value.smc-status-active { color: #2fd5c8; }
.smc-info-value.smc-status-blocked { color: #ff8b8d; }

.smc-category-tools {
    display: flex;
    gap: 16px;
    margin-bottom: 10px;
}

.smc-link-btn {
    background: none;
    border: none;
    color: #2fd5c8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}
.smc-link-btn:hover { text-decoration: underline; }

.smc-category-list {
    max-height: 280px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 22px;
    background: rgba(0,0,0,0.15);
}

.smc-category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 6px;
    border-radius: 6px;
}

.smc-category-item:hover { background: rgba(255,255,255,0.04); }

.smc-category-item input { width: 16px; height: 16px; accent-color: #2fd5c8; flex-shrink: 0; }

.smc-category-item .smc-cat-name { color: #e8edf7; font-size: 14px; flex: 1; }
.smc-category-item .smc-cat-count { color: #76829c; font-size: 12px; }
.smc-category-item .smc-cat-type-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(47,213,200,0.15);
    color: #2fd5c8;
}
.smc-cat-type-badge.smc-vod-badge { background: rgba(255,179,71,0.15); color: #ffb347; }

.smc-download-row { display: flex; flex-direction: column; gap: 4px; }

.smc-email-status {
    margin-top: 14px !important;
    font-size: 13px;
    color: #76829c;
    text-align: center;
}
