/* OmniTools Ultra-Lightweight Core CSS (CLS = 0, Responsive, RTL Ready) */
.omni-tool-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    box-sizing: border-box;
}

[dir="rtl"] .omni-tool-card {
    text-align: right;
    direction: rtl;
}

.omni-dropzone {
    border: 2px dashed #94a3b8;
    border-radius: 10px;
    padding: 36px 20px;
    text-align: center;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    box-sizing: border-box;
}

.omni-dropzone:hover, .omni-dropzone.dragover {
    border-color: #3b82f6;
    background: #eff6ff;
}


.omni-dropzone * {
    pointer-events: none;
}
.omni-dropzone input[type="file"] {
    display: none !important;
}

.omni-drop-icon {
    font-size: 32px;
    margin-bottom: 8px;
    color: #64748b;
}

.omni-drop-text {
    font-size: 15px;
    font-weight: 500;
    color: #334155;
}

.omni-controls {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.omni-select, .omni-input, .omni-textarea {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    color: #0f172a;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.omni-select:focus, .omni-input:focus, .omni-textarea:focus {
    border-color: #3b82f6;
}

.omni-textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    font-family: monospace;
}

.omni-btn {
    padding: 10px 22px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.omni-btn:hover {
    background: #1d4ed8;
}

.omni-btn:active {
    transform: scale(0.98);
}

.omni-btn-success {
    background: #10b981;
}

.omni-btn-success:hover {
    background: #059669;
}

.omni-btn-outline {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #475569;
}

.omni-btn-outline:hover {
    background: #f1f5f9;
}

/* Reklam Alanı (Sadece reklam kodu girildiğinde görünür) */
.omni-ad-slot-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0;
    overflow: hidden;
    box-sizing: border-box;
}

.omni-ad-slot-wrapper:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    border: none !important;
}


/* Sonuç Paneli */
.omni-result-box {
    margin-top: 20px;
    padding: 16px;
    background: #f1f5f9;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 14px;
}

.omni-progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

.omni-progress-fill {
    height: 100%;
    background: #2563eb;
    width: 0%;
    transition: width 0.2s ease;
}

/* İndirme Geri Sayım Modalı (Rewarded Interstitial) */
.omni-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.omni-modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* OmniTools Standard Tool Header (Titles, Badges & Descriptions) */
.omni-tool-header {
    text-align: center;
    margin-bottom: 22px;
    padding-bottom: 6px;
}

.omni-tool-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.omni-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
    text-transform: uppercase;
}

.omni-badge-free {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.omni-badge-nosignup {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #dbeafe;
}

.omni-tool-header .omni-tool-title {
    margin: 0 0 6px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    text-align: center;
}

.omni-tool-header .omni-tool-desc {
    margin: 0 auto;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    max-width: 680px;
}

[dir="rtl"] .omni-tool-header {
    text-align: center;
}

@media (max-width: 640px) {
    .omni-tool-header .omni-tool-title {
        font-size: 19px;
    }
    .omni-tool-header .omni-tool-desc {
        font-size: 13px;
    }
}
