@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.luminaseo-pro-wrap {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 20px 20px 0 0;
}

.luminaseo-pro-header {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    padding: 30px;
    border-radius: 12px;
    color: #fff;
    margin-bottom: 30px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.luminaseo-pro-header h1 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    padding: 0;
}

.luminaseo-pro-header p {
    font-size: 16px;
    opacity: 0.9;
    margin: 10px 0 0 0;
}

/* Stats Cards */
.luminaseo-pro-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.luminaseo-pro-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    transition: transform 0.2s;
}

.luminaseo-pro-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.luminaseo-pro-card h3 {
    margin: 0 0 10px 0;
    color: #6b7280;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.luminaseo-pro-card .value {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
}

.luminaseo-pro-card .sub-value {
    font-size: 14px;
    color: #10b981;
    margin-top: 5px;
    display: block;
}

/* Chart Container */
.luminaseo-pro-chart-container {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Modern Table */
.luminaseo-pro-table-container {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.luminaseo-pro-table {
    width: 100%;
    border-collapse: collapse;
}

.luminaseo-pro-table th {
    background: #f9fafb;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
}

.luminaseo-pro-table td {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.luminaseo-pro-table tr:last-child td {
    border-bottom: none;
}

.badge {
    padding: 4px 8px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success { background: #dcfce7; color: #166534; }
.badge-error { background: #fee2e2; color: #991b1b; }
.badge-pending { background: #f3f4f6; color: #374151; }

/* Settings Form */
.luminaseo-pro-settings-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

@media (max-width: 1024px) {
    .luminaseo-pro-settings-grid {
        grid-template-columns: 1fr;
    }
}

.settings-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
}

.settings-section h2 {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 20px;
}

.luminaseo-pro-field {
    margin-bottom: 20px;
}

.luminaseo-pro-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.luminaseo-pro-field input[type="text"],
.luminaseo-pro-field input[type="password"],
.luminaseo-pro-field input[type="number"],
.luminaseo-pro-field select,
.luminaseo-pro-field textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.luminaseo-pro-field input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

.btn-primary {
    background: #6366f1;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #4f46e5;
}
