/* Revora Admin Styles */
.revora-admin-stars .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: #ccc;
}

.revora-admin-stars .star-filled {
    color: #ffb400;
}

.revora-status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fff8e1;
    color: #856404;
    border: 1px solid #ffeeba;
}

.status-approved {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.status-rejected {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* Professional Form Layout */
.revora-form-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.revora-form-main {
    flex: 1;
    min-width: 0;
}

.revora-form-sidebar {
    width: 300px;
}

.revora-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin-bottom: 20px;
}

.revora-card-header {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.revora-card-body {
    padding: 15px;
}

.revora-field-group {
    margin-bottom: 20px;
}

.revora-field-group:last-child {
    margin-bottom: 0;
}

.revora-field-label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1d2327;
}

.revora-form-main input[type="text"],
.revora-form-main input[type="email"],
.revora-form-main select,
.revora-form-main textarea {
    width: 100%;
    padding: 8px 12px;
}

.revora-form-sidebar .revora-card-body select {
    width: 100%;
}

.revora-sidebar-actions {
    padding: 12px 15px;
    background: #f6f7f7;
    border-top: 1px solid #eee;
    text-align: right;
}

.revora-rating-selector {
    display: flex;
    gap: 5px;
    font-size: 24px;
    cursor: pointer;
}

.revora-rating-selector .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #ccd0d4;
    transition: color 0.2s;
    cursor: pointer;
}

.revora-rating-selector .dashicons:hover,
.revora-rating-selector .dashicons.active {
    color: #ffb400 !important;
}

/* Category Checklist */
.revora-category-checklist {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccd0d4;
    padding: 10px;
    background: #fff;
}

/* Quick Edit Row */
.revora-quick-row td {
    background: #f1f1f1;
    padding: 15px !important;
    border-bottom: 2px solid #007cba !important;
}

.revora-quick-edit-form {
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.revora-quick-edit-form .revora-field-group {
    margin-bottom: 0;
}

.revora-quick-edit-form .revora-rating-selector .dashicons {
    font-size: 20px;
}

.revora-quick-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

/* Inline Status Dropdown */
.revora-status-col {
    display: flex;
    align-items: center;
}

.revora-inline-status {
    padding: 2px 24px 2px 8px !important;
    height: 30px !important;
    min-width: 110px;
    font-size: 13px !important;
    line-height: 1 !important;
    border-radius: 4px !important;
    background-color: #f6f7f7 !important;
    border: 1px solid #8c8f94 !important;
    cursor: pointer;
    font-weight: 600 !important;
}

.revora-inline-status.status-pending {
    background-color: #fcf9e8 !important;
    color: #856404 !important;
    border-color: #ffeeba !important;
}

.revora-inline-status.status-approved {
    background-color: #e7f4e9 !important;
    color: #1e7e34 !important;
    border-color: #c3e6cb !important;
}

.revora-inline-status.status-rejected {
    background-color: #fceaea !important;
    color: #dc3232 !important;
    border-color: #f5c6cb !important;
}

.revora-status-col.loading {
    opacity: 0.5;
    pointer-events: none;
}

.revora-category-checklist ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.revora-category-checklist li {
    margin-bottom: 5px;
}

/* Settings Page Styling */
.revora-settings-wrap {
    max-width: 1200px;
    margin-top: 20px;
}

.revora-settings-container {
    display: flex;
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    min-height: 500px;
    margin-top: 20px;
}

.revora-settings-tabs {
    width: 220px;
    background: #f0f0f1;
    border-right: 1px solid #ccd0d4;
}

.revora-tab-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #1d2327;
    text-decoration: none;
    border-bottom: 1px solid #ccd0d4;
    transition: all 0.2s ease;
    font-weight: 500;
}

.revora-tab-link:hover {
    background: #fff;
    color: #2271b1;
}

.revora-tab-link.active {
    background: #fff;
    color: #2271b1;
    border-right: 2px solid #2271b1;
    margin-right: -1px;
}

.revora-tab-link .dashicons {
    margin-right: 10px;
    color: #646970;
}

.revora-tab-link.active .dashicons {
    color: #2271b1;
}

.revora-settings-form {
    flex: 1;
}

.revora-settings-content {
    padding: 30px;
}

.revora-settings-content .revora-card {
    margin-bottom: 0;
    border: none;
    box-shadow: none;
}

.revora-settings-content .revora-card-header {
    font-size: 1.5em;
    padding: 0 0 20px 0;
    border-bottom: 2px solid #f0f0f1;
    margin-bottom: 30px;
}

.revora-settings-content .revora-card-body {
    padding: 0;
}

.revora-settings-actions {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f1;
}

.revora-shortcode-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #2271b1;
    margin-bottom: 20px;
}

.revora-shortcode-info h3 {
    margin-top: 0;
}

.revora-shortcode-info code {
    display: block;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccd0d4;
    margin: 10px 0;
    font-size: 1.1em;
}

.revora-category-checklist label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.revora-category-checklist input[type="checkbox"] {
    margin: 0;
}
.revora-settings-table th,
.form-table th {
    width: 200px;
    font-weight: 600;
}

.wp-heading-inline + .page-title-action {
    margin-left: 10px;
}

/* Tab counts */
.subsubsub .count {
    color: #646970;
    font-weight: 400;
}

/* Search Box spacing */
.revora-reviews-filter .search-box {
    margin-bottom: 10px;
}
/* Dashboard Widget - Clean Professional Design */
.revora-dashboard-widget {
    margin: -12px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.revora-stats-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
}

.revora-stat-box {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
}

.revora-stat-box::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: currentColor;
    transition: width 0.3s ease;
}

.revora-stat-box:hover::before {
    width: 60%;
}

.revora-stat-box:last-child {
    border-right: none;
}

.revora-stat-box:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    transform: translateY(-2px);
}

.revora-stat-number {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.revora-stat-text {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.revora-rating-scale {
    font-size: 18px;
    font-weight: 400;
    color: #94a3b8;
    margin-left: 2px;
}

/* Stat Box Colors with Gradients */
.revora-box-total {
    color: #3b82f6;
}

.revora-box-total .revora-stat-number {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.revora-box-approved {
    color: #10b981;
}

.revora-box-approved .revora-stat-number {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.revora-box-pending {
    color: #f59e0b;
}

.revora-box-pending .revora-stat-number {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.revora-box-pending.alert .revora-stat-number {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-number 2s ease-in-out infinite;
}

@keyframes pulse-number {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

.revora-box-rating {
    color: #8b5cf6;
}

.revora-box-rating .revora-stat-number {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Widget Links */
.revora-widget-links {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #e5e7eb;
}

.revora-link-primary {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.2s ease;
    padding: 10px 24px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.revora-link-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 1280px) {
    .revora-stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .revora-stat-box:nth-child(2) {
        border-right: none;
    }
    
    .revora-stat-box:nth-child(3),
    .revora-stat-box:nth-child(4) {
        border-top: 1px solid #e5e7eb;
    }
}

@media (max-width: 782px) {
    .revora-stats-overview {
        grid-template-columns: 1fr;
    }
    
    .revora-stat-box {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    
    .revora-stat-box:last-child {
        border-bottom: none;
    }
}
