/* Theme Toggle Button Styles */
.theme-btn {
    position: absolute;
    top: 10px;
    right: 10px;    
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #00472f;
    color: #00472f;
    padding: 10px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;    
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.theme-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Dark Theme Variables and Styles */
body[data-theme="dark"] {
    background: #1a1a1a;
    color: #e0e0e0;
}

body[data-theme="dark"] .container {
    background: #2d2d2d;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

body[data-theme="dark"] .header {
    background: linear-gradient(135deg, #003d2a 0%, #006b47 100%);
}

body[data-theme="dark"] .content {
    background: #2d2d2d;
}

body[data-theme="dark"] .comment-form {
    background: #383838;
    border-color: #4a4a4a;
}

body[data-theme="dark"] .form-title {
    color: #fff;
}

body[data-theme="dark"] .form-group label {
    color: #fff;
}

body[data-theme="dark"] .form-group input,
body[data-theme="dark"] .form-group textarea {
    background: #404040;
    border-color: #555;
    color: #e0e0e0;
}

body[data-theme="dark"] .form-group input:focus,
body[data-theme="dark"] .form-group textarea:focus {
    border-color: #4db6ac;
    box-shadow: 0 0 0 3px rgba(77, 182, 172, 0.1);
}

body[data-theme="dark"] .star-section {
    background: rgba(77, 182, 172, 0.1);
    border-color: rgba(77, 182, 172, 0.2);
}

body[data-theme="dark"] .submit-btn {
    background: #00472f;
    color: #fff;
    box-shadow: 0 4px 15px rgba(77, 182, 172, 0.4);
}

body[data-theme="dark"] .submit-btn:hover:not(:disabled) {
    background: #26a69a;
    box-shadow: 0 8px 25px rgba(77, 182, 172, 0.4);
    color: #1a1a1a;
}

body[data-theme="dark"] .comment {
    background: #383838;
    border-color: #4a4a4a;
}

body[data-theme="dark"] .comment:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

body[data-theme="dark"] .comment-author {
    color: #e0e0e0;
}

body[data-theme="dark"] .comment-date {
    color: #b0b0b0;
}

body[data-theme="dark"] .comment-text {
    background: #404040;
    color: #e0e0e0;
    border-left-color: #4db6ac;
}

body[data-theme="dark"] .admin-welcome {
    background: linear-gradient(135deg, #003d2a 0%, #006b47 100%);
}

body[data-theme="dark"] .verified-badge {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}

body[data-theme="dark"] .no-comments {
    background: #383838;
    color: #b0b0b0;
}

body[data-theme="dark"] .no-comments h3 {
    color: #e0e0e0;
}

body[data-theme="dark"] .no-comments-icon {
    color: #666;
}

body[data-theme="dark"] .comments-count {
    color: #b0b0b0;
}

body[data-theme="dark"] .comments-section h2 {
    color: #e0e0e0;
}

body[data-theme="dark"] .comments-section h2::after {
    background: linear-gradient(135deg, #4db6ac 0%, #26a69a 100%);
}

body[data-theme="dark"] .footer {
    background: #1a1a1a;
    color: #e0e0e0;
}

body[data-theme="dark"] .message.success {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}

body[data-theme="dark"] .message.error {
    background: linear-gradient(135deg, #f44336 0%, #e53935 100%);
}

body[data-theme="dark"] #charCounter {
    color: #b0b0b0;
}

/* Dark theme adjustments for theme button */
body[data-theme="dark"] .theme-btn {
    background: rgba(45, 45, 45, 0.9);
    border-color: #4db6ac;
    color: #fff;
}

/* Rating text colors for dark theme */
body[data-theme="dark"] .rating-text.excellent { color: #66bb6a; }
body[data-theme="dark"] .rating-text.good { color: #26c6da; }
body[data-theme="dark"] .rating-text.average { color: #ffca28; }
body[data-theme="dark"] .rating-text.poor { color: #ff8a65; }
body[data-theme="dark"] .rating-text.terrible { color: #ef5350; }

/* Form validation errors for dark theme */
body[data-theme="dark"] .field-error {
    border-color: #ef5350 !important;
    box-shadow: 0 0 0 3px rgba(239, 83, 80, 0.1) !important;
}

body[data-theme="dark"] .error-message {
    background: #ef5350;
}

/* Responsive adjustments for theme button */
@media (max-width: 768px) {
    .theme-btn {
        position: relative;
        top: auto;
        right: auto;
        margin: 10px auto;
        display: block;
        width: fit-content;
    }
}


body[data-theme="dark"] .star-section label{
                        
            color: #fff;        
}