/* Senuto Keywords Tool - Emerald Theme (clusterif style) */

/* DataTables emerald theme */
.dataTables_wrapper {
    font-family: 'Geist', system-ui, sans-serif;
}

#resultsTable {
    border-collapse: collapse;
    width: 100%;
}

#resultsTable thead th {
    background: #f0fdf4 !important;
    color: #065f46 !important;
    font-weight: 600;
    border-bottom: 2px solid #10b981 !important;
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
}

#resultsTable tbody tr {
    border-bottom: 1px solid #e5e7eb;
}

#resultsTable tbody tr:nth-child(even) {
    background: #f9fafb;
}

#resultsTable tbody tr:hover {
    background: #ecfdf5 !important;
}

#resultsTable tbody td {
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    white-space: nowrap;
}

/* DataTables controls */
.dataTables_length,
.dataTables_filter,
.dataTables_info,
.dataTables_paginate {
    padding: 12px 16px;
    font-size: 14px;
    color: #6b7280;
}

.dataTables_filter input {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin-left: 8px;
    outline: none;
}

.dataTables_filter input:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.dataTables_length select {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    margin: 0 4px;
    outline: none;
}

.dataTables_length select:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.dataTables_paginate .paginate_button {
    padding: 6px 12px;
    margin: 0 2px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.dataTables_paginate .paginate_button:hover {
    background: #ecfdf5;
    border-color: #10b981;
}

.dataTables_paginate .paginate_button.current {
    background: #10b981;
    border-color: #10b981;
    color: white !important;
}

.dataTables_paginate .paginate_button.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Upload area drag state */
#uploadArea.dragover {
    border-color: #10b981;
    background-color: #ecfdf5;
}

/* Progress bar animation */
#progressBar {
    background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #10b981 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Smooth transitions */
* {
    transition-property: background-color, border-color, color, box-shadow;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #059669;
}
