/* Generator Backlink-uri YouTube - seotoolpro.ro
 * Prefix: ytb-
 * Tema: alb/teal/navy
 */

.ytb-wrap { font-family: 'Segoe UI', system-ui, sans-serif; }
.ytb-wrap * { box-sizing: border-box; }

/* Section */
.ytb-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.ytb-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.ytb-section-icon { font-size: 18px; }
.ytb-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Input */
.ytb-input-row { margin-bottom: 8px; }
.ytb-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #111827;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}
.ytb-input:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(20,184,166,0.12);
}
.ytb-input-hint {
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 16px;
}

/* Buttons */
.ytb-btn-wrap { text-align: center; margin-top: 8px; }
.ytb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, transform 0.15s;
    font-family: inherit;
    text-decoration: none;
}
.ytb-btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }
.ytb-btn-primary {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    color: #fff !important;
}
.ytb-btn-reset {
    background: #f9fafb;
    color: #6b7280;
    border: 1.5px solid #e5e7eb;
    font-size: 13px;
    padding: 10px 20px;
}

/* Loading */
.ytb-spinner {
    width: 36px; height: 36px;
    border: 3px solid #e5e7eb;
    border-top-color: #14b8a6;
    border-radius: 50%;
    animation: ytbSpin 0.7s linear infinite;
    margin: 0 auto 10px;
}
@keyframes ytbSpin { to { transform: rotate(360deg); } }
.ytb-loading-text { font-size: 13px; color: #6b7280; font-weight: 500; text-align: center; margin-bottom: 16px; }

/* Results table */
#results .table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
#results .table thead tr {
    background: linear-gradient(135deg, #0f1e35, #1e3a5f);
    color: #fff;
}
#results .table thead td {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 16px !important;
    border: none !important;
    color: #fff;
}
#results .table tbody tr.even { background: #f8fafc; }
#results .table tbody tr.odd  { background: #fff; }
#results .table tbody td {
    padding: 10px 16px !important;
    font-size: 13px;
    color: #374151;
    border-color: #f1f5f9 !important;
    vertical-align: middle;
}
#results .table tbody td a {
    color: #14b8a6;
    text-decoration: none;
    font-size: 12px;
    word-break: break-all;
}
#results .table tbody td a:hover { color: #0f766e; text-decoration: underline; }

/* Status badges */
#results b[style*="green"] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0fdfa;
    color: #0f766e;
    border: 1px solid #5eead4;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
}
#results b[style*="red"] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
}

/* Actions */
.ytb-actions { text-align: center; margin-top: 16px; }

/* Responsive */
@media (max-width: 560px) {
    .ytb-section { padding: 16px; }
    .ytb-btn { width: 100%; justify-content: center; }
}
