* {
    box-sizing: border-box;
}

:root {
    --bg-card: #1c1c1c;
    --bg-input: #111111;
    --text-main: #eeeeee;
    --text-muted: #aaaaaa;
    --accent-color: #ffcc00;
    --accent-hover: #e6b800;
    --border-color: #333333;
    --radius: 8px;
}

body {
    background-color: #111111;
    color: var(--text-main);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* --- Навігаційна шапка (Navbar) --- */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    border-bottom: 1px solid #222222;
    flex-wrap: wrap;
    background: #161616;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar a {
    color: #eeeeee;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    transition: color 0.2s;
}

.navbar a:hover,
.navbar a.active {
    color: #ffcc00;
}

/* --- Контейнер відгуків --- */
.reviews-container {
    max-width: 650px;
    margin: 30px auto 50px;
    padding: 0 20px;
}

h2 {
    color: var(--text-main);
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.alert-success {
    background-color: rgba(76, 175, 80, 0.15);
    border: 1px solid #4caf50;
    color: #81c784;
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-weight: bold;
}

.review-form {
    background-color: var(--bg-card);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.review-form input[type="text"],
.review-form input[type="password"],
.review-form select,
.review-form textarea {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid #444444;
    color: var(--text-main);
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
    border-color: var(--accent-color);
}

.review-form select {
    cursor: pointer;
}

.review-form textarea {
    resize: vertical;
    min-height: 100px;
}

.review-form button {
    background-color: var(--accent-color);
    color: #111111;
    font-weight: bold;
    font-size: 15px;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
}

.review-form button:hover {
    background-color: var(--accent-hover);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.review-header strong {
    color: var(--text-main);
}

.review-header small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.review-card p {
    margin: 0;
    color: #cccccc;
    white-space: pre-line;
}

@media (max-width: 600px) {
    .navbar {
        gap: 12px;
        padding: 12px 10px;
    }
    .navbar a {
        font-size: 14px;
    }
    .review-form button {
        width: 100%;
    }
}