:root {
    --primary: #007bff;
    --success: #28a745;
    --warning: #ffc107;
    --gray: #6c757d;
    --bg-color: #f4f7f6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-color);
    margin: 0;
    color: #333;
}

/* Header */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.logo-icon { height: 35px; }

nav { display: flex; gap: 25px; }
nav a { text-decoration: none; color: #333; font-weight: 500; transition: 0.2s; }
nav a:hover { color: var(--primary); }

/* Layout */
.main-content {
    max-width: 1000px;
    margin: 30px auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Tabs */
.tabs-header { display: flex; gap: 15px; margin-bottom: 30px; border-bottom: 2px solid #eee; }
.tab-btn { padding: 12px 24px; border: none; background: none; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--gray); transition: 0.3s; }
.tab-btn.active { color: var(--primary); border-bottom: 3px solid var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Grid & Cards */
.section-title { font-size: 1.1rem; font-weight: bold; margin-bottom: 15px; display: block; color: var(--gray); }
.waiting-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 15px; margin-bottom: 40px; }
.waiting-card { background: #fff; border: 2px dashed #ddd; padding: 20px; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; }

/* Buttons */
.btn-rate { background: var(--success); color: white; border: none; padding: 8px 18px; border-radius: 6px; cursor: pointer; font-weight: 600; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 8px 18px; border-radius: 6px; cursor: pointer; transition: 0.3s; }
.btn-outline:hover { background: var(--primary); color: white; }

/* Reviews */
.review-item { border: 1px solid #eee; padding: 20px; border-radius: 10px; margin-bottom: 15px; }
.review-header { display: flex; justify-content: space-between; align-items: center; }
.stars { color: var(--warning); font-size: 1.2rem; }
.status-badge { font-size: 10px; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; font-weight: bold; }
.pending { border-left: 5px solid var(--warning); background: #fffcf5; }
.approved { border-left: 5px solid var(--success); background: #f8fff9; }

/* Modal */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); align-items: center; justify-content: center; z-index: 1000; }
.modal-content { background: white; padding: 30px; border-radius: 15px; width: 400px; }
.star-input-wrap { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 5px; margin: 15px 0; }
.star-input-wrap span { font-size: 2.5rem; cursor: pointer; color: #ddd; }
.star-input-wrap span:hover, .star-input-wrap span:hover ~ span, .star-input-wrap span.selected, .star-input-wrap span.selected ~ span { color: var(--warning); }
textarea { width: 100%; height: 120px; margin: 15px 0; padding: 12px; border: 1px solid #ddd; border-radius: 8px; resize: none; }
.modal-actions { display: flex; gap: 10px; }
.btn-send { flex: 2; background: var(--primary); color: white; border: none; padding: 12px; border-radius: 6px; cursor: pointer; }
.btn-cancel { flex: 1; background: #eee; border: none; padding: 12px; border-radius: 6px; cursor: pointer; }