/* CSS Variablen für Light/Darkmode */
:root {
    --bg-primary: #f9f9f9;
    --bg-secondary: #f0f0f0;
    --bg-tertiary: #e8e8e8;
    --text-primary: #333333;
    --text-secondary: #2c3e50;
    --text-muted: #7f8c8d;
    --border-color: #eee;
    --border-color-strong: #ddd;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --card-bg: #ffffff;
    --input-bg: #ffffff;
    --hover-bg: #f0f0f0;
    --dropdown-bg: white;
}

body.darkmode {
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #1f2940;
    --text-primary: #eaeaea;
    --text-secondary: #b8c5d6;
    --text-muted: #9aa3af;
    --border-color: #2a3a5a;
    --border-color-strong: #3a4a6a;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --card-bg: #1f2940;
    --input-bg: #16213e;
    --hover-bg: #2a3a5a;
    --dropdown-bg: #16213e;
}

/* Allgemeine Stile */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header, footer {
    text-align: center;
    padding: 20px 0;
    position: relative;
}
/* Profilbutton oben rechts */
#profile-top-btn-container {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 10;
}

/* Profile Dropdown Container */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

#profile-top-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
}

#profile-top-btn:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

#profile-top-img img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

/* Dropdown Content */
.profile-dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: var(--dropdown-bg);
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    border: 1px solid var(--border-color-strong);
    z-index: 1000;
    margin-top: 2px;
    overflow: hidden;
}

.profile-dropdown-content.show {
    display: block;
    animation: fadeIn 0.2s ease-in;
}

.profile-dropdown-content a {
    color: var(--text-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.2s;
}

.profile-dropdown-content a:hover {
    background-color: var(--hover-bg);
}

.profile-dropdown-content a:first-child {
    border-bottom: 1px solid var(--border-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

h1, h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.storage-notice {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Formular Stile */
#review-form-section {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color-strong);
    border-radius: 4px;
    font-size: 16px;
    background-color: var(--input-bg);
    color: var(--text-primary);
}

/* Sternen-Rating Stil */
.star-rating {
    display: inline-flex;
    flex-direction: row-reverse; /* Bewertung von rechts nach links */
    font-size: 0;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
    margin-right: 5px;
}

.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #ffd700; /* Goldene Farbe für ausgewählte Sterne */
}

/* Button Stil */
.submit-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2980b9;
}

/* Bewertungsliste Stile */
#reviews-section {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

#reviews-section .group-selection {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

#reviews-section .group-selection h3 {
    display: none; /* Verstecke die alte H3-Überschrift */
}

#reviews-section .group-selection .form-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

#reviews-section .group-selection label {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0; /* Entferne den unteren Abstand, da Flexbox die Ausrichtung übernimmt */
}

#reviews-section .group-selection select {
    max-width: 300px; /* Verhindert, dass das Dropdown zu breit wird */
}

.review-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Eingeklappte Bewertung */
.review-card.collapsed {
    padding: 15px 20px;
    background-color: #f9f9f9;
}

.review-card.collapsed .review-content-expandable {
    display: none;
}

.review-card.collapsed .review-header {
    margin-bottom: 10px;
}

/* Neue/ungesehene Bewertung */
.review-card.new {
    border-left: 4px solid #3498db;
    background-color: #f8fcff;
    position: relative;
    overflow: hidden;
}

.review-card.new::before {
    content: 'NEU';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    font-size: 5rem;
    font-weight: 900;
    color: rgba(231, 76, 60, 0.15);
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.1);
    pointer-events: none;
    z-index: 5;
    user-select: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

/* Hover-Effekt für eingeklappte Bewertungen */
.review-card.collapsed:hover {
    background-color: #f0f0f0;
    border-color: #3498db;
}

/* Toggle-Indikator */
.review-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #7f8c8d;
    transition: transform 0.3s ease;
}

.review-card.collapsed .review-toggle {
    transform: rotate(180deg);
}

.review-toggle:hover {
    color: #3498db;
}

/* Clear float für Produktbilder */
.review-header::after,
.review-content-expandable::after {
    content: "";
    display: table;
    clear: both;
}

/* Layout für Review-Header */
.review-content-main {
    margin-left: 0; /* Kein Platz für Bild benötigt */
    position: relative;
    z-index: 10;
}

.review-card.collapsed .review-content-main {
    margin-left: 0; /* Kein Platz für Bild benötigt */
}
/* Kommentare */
.comments-section {
    margin-top: 20px;
    background: #f8f8f8;
    border-radius: 6px;
    padding: 12px;
}
.comments-list {
    margin-bottom: 10px;
}
.comment {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}
.comment:last-child {
    border-bottom: none;
}
.comment-form {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.comment-input {
    flex: 1;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 1rem;
}
/* Profilbild Vorschau */
#profile-image-preview img {
    max-width: 120px;
    max-height: 120px;
    border-radius: 50%;
    border: 2px solid #3498db;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
}

.review-stars {
    color: #ffd700;
    font-size: 20px;
}

.review-product {
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.review-content {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.review-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    margin-top: 10px;
}

.review-link:hover {
    text-decoration: underline;
}

.review-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-price {
    font-weight: 500;
    color: #2ecc71;
    margin-bottom: 10px;
}

.reviewer-name {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

/* Eigene Bewertung hervorheben */
.own-review {
    background-color: rgba(255, 200, 200, 0.2);
    border-left: 3px solid #e74c3c;
}

/* Benutzerdefinierte Farbe für alle Bewertungen (basierend auf Ersteller) */
.custom-color {
    background-color: rgba(255, 255, 255, 0.8);
    border-left: 4px solid var(--user-color);
    box-shadow: 0 0 0 1px var(--user-color-light);
}

.custom-color.collapsed {
    border-left: 3px solid var(--user-color);
}

/* Eigene Bewertungen mit benutzerdefinierten Farben - zusätzliche Hervorhebung */
.own-review.custom-color {
    box-shadow: 0 0 0 2px var(--user-color-light), 0 2px 8px rgba(0,0,0,0.1);
    border-left-width: 5px;
}

.own-review.custom-color.collapsed {
    border-left-width: 4px;
}

/* Color picker styling */
input[type="color"] {
    width: 50px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    padding: 2px;
}

.delete-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.delete-btn:hover {
    background-color: #c0392b;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    /* Mobile Navigation Layout */
    .app-layout {
        display: block; /* Stack vertically on mobile */
    }
    
    #sidebar {
        flex: none;
        width: 100%;
        margin-bottom: 20px;
        padding: 15px;
        height: auto;
    }
    
    #sidebar ul {
        display: flex;
        justify-content: space-around;
        align-items: center;
        gap: 10px;
        margin: 0;
        padding: 0;
    }
    
    #sidebar ul li {
        flex: 1;
        margin-bottom: 0;
    }
    
    .nav-button {
        width: 100%;
        padding: 12px 8px;
        font-size: 14px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    #main-content {
        flex: none;
        width: 100%;
    }
    
    /* Mobile Profile Dropdown Adjustments */
    #profile-top-btn-container {
        top: 15px;
        right: 15px;
    }
    
    .profile-dropdown-content {
        right: 0;
        min-width: 140px;
    }
    
    #review-form-section,
    #reviews-section {
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    /* Very small screens - stack navigation vertically if needed */
    #sidebar ul {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    #sidebar ul li {
        flex: 1 1 calc(50% - 4px); /* Two buttons per row on very small screens */
        min-width: 120px;
    }
    
    .nav-button {
        padding: 10px 6px;
        font-size: 13px;
    }
    
    /* Smaller profile button on mobile */
    #profile-top-btn {
        width: 40px;
        height: 40px;
    }
    
    #profile-top-img img {
        width: 40px;
        height: 40px;
    }
    
    /* Touch-friendly review cards */
    .review-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-stars {
        margin-top: 5px;
    }
    
    /* Larger touch targets for mobile */
    .submit-btn, .nav-button, .delete-btn, .edit-btn {
        min-height: 44px; /* iOS recommendation for touch targets */
        padding: 12px 16px;
    }
    
    .review-content-main {
        margin-left: 0;
    }
    
    .review-card.collapsed .review-content-main {
        margin-left: 0;
    }
}

/* Authentifizierungsformular Stile */
#auth-section {
    max-width: 500px;
    margin: 30px auto;
}

.auth-container {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-color);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
}

.auth-tab.active {
    opacity: 1;
    border-bottom: 2px solid #3498db;
    font-weight: 600;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    margin-bottom: 20px;
    text-align: center;
}

.auth-btn {
    width: 100%;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.auth-btn:hover {
    background-color: #2980b9;
}

.auth-message {
    margin-top: 15px;
    text-align: center;
}

.auth-message.error {
    color: #e74c3c;
}

.auth-message.success {
    color: #2ecc71;
}

#user-controls {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

#logged-in-username {
    font-style: italic;
    color: #7f8c8d;
}

#logout-button, .logout-btn {
    background-color: #95a5a6;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-block;
}

#logout-button:hover, .logout-btn:hover {
    background-color: #7f8c8d;
}

/* Gruppenmanagement Stile */
#groups-section {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.group-management {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.group-creation, 
.group-selection {
    flex: 1;
    min-width: 300px;
}

.group-creation h3,
.group-selection h3,
.group-members-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.group-members-section {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
}

.member-list ul {
    list-style: none;
    margin-bottom: 20px;
}

.member-list li {
    padding: 8px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.creator-badge {
    background-color: #3498db;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
}

.remove-member {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.8rem;
    cursor: pointer;
}

.invite-member h4,
.group-actions h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.toggle-button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #3498db;
    margin-right: 10px;
    padding: 0 5px;
    transition: transform 0.3s;
}

.toggle-button.collapsed {
    transform: rotate(-90deg);
}

.group-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.info-text {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Gruppenformulare */
#group-form,
#join-group-form {
    margin-bottom: 20px;
}

#join-group-form {
    padding-top: 15px;
    border-top: 1px dotted #ddd;
}

select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    background-color: white;
}


.no-reviews {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
}

/* App Layout Stile */
.app-layout {
    display: flex;
    gap: 20px;
}

#sidebar {
    flex: 0 0 200px;
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

#sidebar ul {
    list-style: none;
}

#sidebar ul li {
    margin-bottom: 10px;
}

.nav-button {
    width: 100%;
    background: none;
    border: 1px solid var(--border-color-strong);
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s;
    color: var(--text-primary);
    background-color: var(--card-bg);
}

.nav-button:hover {
    background-color: var(--hover-bg);
    border-color: #3498db;
}

.nav-button.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
    font-weight: 600;
}

#main-content {
    flex: 1;
}

/* Korrektur für Formular-Deaktivierung */
#review-form-section:has(input:disabled) {
    background-color: #f8f8f8;
    opacity: 0.7;
}

/* Stile für Aktions-Buttons */
.action-btn {
    background-color: #f39c12; /* Orange Farbe */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    margin-right: 10px; /* Abstand zum Löschen-Button */
}

.action-btn:hover {
    background-color: #e67e22;
}

/* Modal-Stile */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Erlaubt Klicks "durch" das unsichtbare Modal */
    display: flex; 
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px; 
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeIn 0.3s;
    pointer-events: auto; /* Macht die Modal-Inhalte wieder klickbar */
}

.modal.fade-out {
    animation: fadeOut 0.5s forwards;
}


@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}


.modal-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Notification Modal Specifics */
#notification-modal .modal-content.success {
    border-left: 5px solid #28a745;
}

#notification-modal .modal-content.error {
    border-left: 5px solid #dc3545;
}

#notification-modal .modal-content.info {
    border-left: 5px solid #17a2b8;
}


.close-modal-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close-modal-btn:hover,
.close-modal-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Stile für Kaufempfehlung */
.recommendation {
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: inline-block;
}

.recommendation-buy {
    background-color: #e8f5e9; /* Light Green */
    color: #2e7d32; /* Dark Green */
}

.recommendation-nobuy {
    background-color: #ffebee; /* Light Red */
    color: #c62828; /* Dark Red */
}

.recommendation-maybe {
    background-color: #fff3e0; /* Light Orange */
    color: #ef6c00; /* Dark Orange */
}

/* Stile für Pro/Contra Sektion */
.pros-cons-section {
    margin: 20px 0;
}

.pros-cons-section h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.pros-cons-section ul {
    list-style: none;
    padding-left: 0;
}

.pros-cons-section li {
    padding: 5px 0 5px 25px;
    position: relative;
}

/* Icon für Pro-Liste */
.pro-list li::before {
    content: '✔';
    color: #2e7d32; /* Dark Green */
    position: absolute;
    left: 0;
    top: 5px;
}

/* Icon für Contra-Liste */
.con-list li::before {
    content: '✖';
    color: #c62828; /* Dark Red */
    position: absolute;
    left: 0;
    top: 5px;
}

/* Stile für Bearbeiten- und Abbrechen-Buttons */
.edit-btn {
    background-color: #3498db; /* Blue */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s;
    margin-right: 5px;
}

.edit-btn:hover {
    background-color: #2980b9;
}

.cancel-btn {
    background-color: #95a5a6; /* Gray */
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 10px;
}

.cancel-btn:hover {
    background-color: #7f8c8d;
}

/* Settings Section & Darkmode Toggle */
.settings-section {
    margin-top: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item label:first-child {
    font-weight: 500;
    font-size: 16px;
    color: var(--text-primary);
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 26px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #3498db;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Darkmode recommendation colors */
body.darkmode .recommendation-buy {
    background-color: rgba(46, 125, 50, 0.3);
    color: #81c784;
}

body.darkmode .recommendation-nobuy {
    background-color: rgba(198, 40, 40, 0.3);
    color: #e57373;
}

body.darkmode .recommendation-maybe {
    background-color: rgba(239, 108, 0, 0.3);
    color: #ffb74d;
}

body.darkmode .pros-cons-section h4 {
    color: var(--text-secondary);
}

/* Darkmode review stars */
body.darkmode .review-stars {
    color: #ffd700;
}

/* Darkmode no-reviews text */
body.darkmode .no-reviews {
    color: var(--text-muted);
}

/* Darkmode reviewer name */
body.darkmode .reviewer-name {
    color: var(--text-muted);
}

/* Darkmode review date */
body.darkmode .review-date {
    color: var(--text-muted);
}

/* Darkmode profile section */
body.darkmode #profile-section {
    background-color: var(--card-bg);
}

/* Darkmode form group */
body.darkmode .form-group label {
    color: var(--text-primary);
}

/* Darkmode section headers */
body.darkmode #profile-section h2,
body.darkmode #groups-section h2,
body.darkmode #review-form-section h2 {
    color: var(--text-secondary);
}

/* Darkmode group creation headers */
body.darkmode .group-creation h3,
body.darkmode .group-selection h3 {
    color: var(--text-secondary);
}

/* Darkmode close button */
body.darkmode .close-modal-btn {
    color: #666;
}

body.darkmode .close-modal-btn:hover {
    color: #fff;
}
