.hero-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

@media (min-width: 640px) {
    .hero-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

main#browse-page {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.hero-title {
    font-size: 2.25rem; 
}

.hero-subtitle {
    font-size: 1.25rem;
}

.filter-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.back-to-top:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}

/* Rich Text Editor Styles - Dark Theme */
.ql-toolbar {
    border-color: #374151 !important;
    border-radius: 8px 8px 0 0 !important;
    background-color: #1f2937 !important;
}

.ql-container {
    border-color: #374151 !important;
    border-radius: 0 0 8px 8px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.ql-editor {
    min-height: 120px;
    padding: 12px !important;
    background-color: #111827 !important;
    color: #ffffff !important;
}

.ql-editor.ql-blank::before {
    color: #6b7280 !important;
    font-style: italic;
}

/* Toolbar buttons dark theme */
.ql-toolbar .ql-formats {
    margin-right: 15px;
}

.ql-toolbar button {
    color: #d1d5db !important;
}

.ql-toolbar button:hover {
    color: #ffffff !important;
}

.ql-toolbar button.ql-active {
    color: #6366f1 !important;
}

.ql-toolbar .ql-picker-label {
    color: #d1d5db !important;
}

.ql-toolbar .ql-picker-options {
    background-color: #374151 !important;
    border: 1px solid #4b5563 !important;
}

.ql-toolbar .ql-picker-item {
    color: #d1d5db !important;
}

.ql-toolbar .ql-picker-item:hover {
    background-color: #4b5563 !important;
    color: #ffffff !important;
}

/* Modal styles for better dark theme integration */
.modal-content {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.review {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.review-body p,
.review-body span,
.review-body strong,
.review-body em,
.review-body u,
.review-body li,
.review-body h3 {
    color: white !important;
    background-color: transparent !important;
}

/* Make sure the text in the rich text editor is white */
.ql-editor, .ql-editor * {
    color: #ffffff !important;
}
