/**
 * Social Features Styles for Poetry Translated
 * Includes: Comments, Ratings, Reviews, Playlists, Forums
 */

/* ===== CSS VARIABLES ===== */
:root {
    --ink-black: rgb(10, 10, 10);
    --paper-white: rgb(250, 250, 250);
    --emerald-glow: rgb(16, 185, 129);
    --soft-shadow: rgba(0, 0, 0, 0.2);
}

/* ===== COMMENTS SECTION ===== */
.comments-section {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 20px;
}

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

.comments-title {
    font-size: 1.5rem;
    color: var(--paper-white);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.comment-count {
    color: rgba(250, 250, 250, 0.6);
    font-size: 1rem;
    font-weight: normal;
}

.comment-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(250, 250, 250, 0.7);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--emerald-glow);
    color: var(--emerald-glow);
}

.filter-btn.active {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--emerald-glow);
    color: var(--emerald-glow);
}

.comment-sort {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--paper-white);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* Comment Form */
.comment-form-container {
    margin-bottom: 30px;
}

.comment-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.comment-input-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.comment-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--paper-white);
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: all 0.3s;
}

.comment-input:focus {
    outline: none;
    border-color: var(--emerald-glow);
    background: rgba(255, 255, 255, 0.08);
}

.commenting-on-verse {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(16, 185, 129, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.verse-indicator {
    color: var(--emerald-glow);
    font-size: 0.85rem;
}

.clear-verse-selection {
    background: none;
    border: none;
    color: var(--emerald-glow);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-options {
    display: flex;
    gap: 10px;
}

.emoji-picker-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.emoji-picker-btn:hover {
    border-color: var(--emerald-glow);
}

.comment-submit-actions {
    display: flex;
    gap: 10px;
}

.submit-comment-btn,
.cancel-reply-btn {
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: none;
}

.submit-comment-btn {
    background: var(--emerald-glow);
    color: var(--ink-black);
    font-weight: 600;
}

.submit-comment-btn:hover {
    background: rgb(13, 148, 103);
}

.cancel-reply-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--paper-white);
}

/* Individual Comments */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.comment:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.comment-reply {
    border-left: 3px solid rgba(16, 185, 129, 0.3);
}

.comment.highlight-new {
    animation: highlightNew 3s;
}

@keyframes highlightNew {
    0% { background: rgba(16, 185, 129, 0.2); }
    100% { background: rgba(255, 255, 255, 0.03); }
}

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

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--paper-white);
    font-weight: 600;
    font-size: 0.95rem;
}

.comment-time {
    color: rgba(250, 250, 250, 0.5);
    font-size: 0.85rem;
}

.verse-reference {
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
}

.verse-link {
    color: var(--emerald-glow);
    text-decoration: none;
    font-size: 0.9rem;
}

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

.comment-body {
    color: rgba(250, 250, 250, 0.9);
    line-height: 1.6;
    margin-bottom: 15px;
    white-space: pre-wrap;
}

.verse-quote {
    margin: 15px 0;
    padding: 15px;
    background: rgba(16, 185, 129, 0.05);
    border-left: 3px solid var(--emerald-glow);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.verse-quote .arabic {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1.2rem;
    text-align: right;
    direction: rtl;
}

.verse-quote .english {
    font-size: 0.95rem;
    color: rgba(250, 250, 250, 0.8);
}

.comment-footer {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.comment-action {
    background: transparent;
    border: none;
    color: rgba(250, 250, 250, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.comment-action:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--paper-white);
}

.upvote-btn.voted {
    color: var(--emerald-glow);
    background: rgba(16, 185, 129, 0.1);
}

.reply-form-container {
    margin-top: 15px;
}

/* Login Prompt */
.login-prompt {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
}

.login-prompt p {
    color: var(--paper-white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.login-btn {
    padding: 12px 30px;
    background: var(--emerald-glow);
    color: var(--ink-black);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s;
}

.login-btn:hover {
    background: rgb(13, 148, 103);
}

/* Verse Comment Buttons */
.verse-line {
    position: relative;
    transition: all 0.3s;
}

.verse-comment-btn {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.verse-line:hover .verse-comment-btn {
    opacity: 1;
}

.verse-comment-btn:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--emerald-glow);
}

.verse-comment-btn.has-comments {
    opacity: 0.7;
    background: rgba(16, 185, 129, 0.1);
}

.verse-line.commenting {
    background: rgba(16, 185, 129, 0.05);
    padding: 10px;
    border-radius: 8px;
}

/* ===== RATING SYSTEM ===== */
.rating-container {
    margin: 30px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(16, 185, 129, 0.1);
    border-radius: 16px;
}

.rating-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.average-rating {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    color: var(--emerald-glow);
    font-weight: bold;
    display: block;
}

.rating-stars-display {
    margin: 10px 0;
}

.star {
    font-size: 1.5rem;
    color: rgba(250, 250, 250, 0.3);
    margin: 0 2px;
}

.star.filled {
    color: var(--emerald-glow);
}

.rating-count {
    color: rgba(250, 250, 250, 0.6);
    font-size: 0.9rem;
}

.user-rating-section {
    text-align: center;
}

.rating-prompt {
    color: var(--paper-white);
    margin-bottom: 10px;
    font-size: 1rem;
}

.rating-stars-input {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.star-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    transition: all 0.2s;
    padding: 0;
}

.star-btn:hover {
    transform: scale(1.2);
}

.write-review-btn {
    margin-top: 15px;
    padding: 10px 25px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--emerald-glow);
    color: var(--emerald-glow);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.write-review-btn:hover {
    background: var(--emerald-glow);
    color: var(--ink-black);
}

/* Rating Distribution */
.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.distribution-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dist-stars {
    min-width: 50px;
    color: var(--emerald-glow);
    font-size: 0.95rem;
}

.dist-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.dist-fill {
    height: 100%;
    background: var(--emerald-glow);
    transition: width 0.5s;
}

.dist-count {
    min-width: 40px;
    text-align: right;
    color: rgba(250, 250, 250, 0.6);
    font-size: 0.9rem;
}

.no-ratings {
    color: rgba(250, 250, 250, 0.6);
    text-align: center;
    padding: 20px;
}

/* Reviews Section */
.reviews-section {
    margin-top: 40px;
}

.reviews-section h3 {
    color: var(--paper-white);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.review-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
}

.review-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

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

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-name {
    color: var(--paper-white);
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 5px;
}

.review-rating {
    margin-top: 5px;
}

.review-date {
    color: rgba(250, 250, 250, 0.5);
    font-size: 0.85rem;
}

.review-text {
    color: rgba(250, 250, 250, 0.9);
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-footer {
    display: flex;
    gap: 15px;
}

.helpful-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(250, 250, 250, 0.7);
    padding: 6px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.helpful-btn:hover,
.helpful-btn.active {
    border-color: var(--emerald-glow);
    color: var(--emerald-glow);
    background: rgba(16, 185, 129, 0.1);
}

.no-reviews {
    color: rgba(250, 250, 250, 0.6);
    text-align: center;
    padding: 40px;
}

/* Review Modal */
.review-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.review-modal-content {
    background: var(--ink-black);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.review-modal-content h2 {
    color: var(--paper-white);
    margin-bottom: 20px;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-text {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--paper-white);
    padding: 15px;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
}

.char-count {
    text-align: right;
    color: rgba(250, 250, 250, 0.5);
    font-size: 0.85rem;
}

.review-tips {
    background: rgba(16, 185, 129, 0.05);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--emerald-glow);
}

.review-tips p {
    color: var(--emerald-glow);
    margin-bottom: 10px;
    font-weight: 600;
}

.review-tips ul {
    color: rgba(250, 250, 250, 0.8);
    padding-left: 20px;
}

.review-tips li {
    margin-bottom: 5px;
}

.review-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cancel-review,
.submit-review {
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.cancel-review {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--paper-white);
}

.submit-review {
    background: var(--emerald-glow);
    color: var(--ink-black);
    border: none;
    font-weight: 600;
}

.submit-review:hover {
    background: rgb(13, 148, 103);
}

/* ===== PLAYLISTS ===== */
.add-to-playlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(16, 185, 129, 0.9);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10;
}

.poem-card:hover .add-to-playlist-btn,
.album-card:hover .add-to-playlist-btn,
[data-poem-id]:hover .add-to-playlist-btn {
    opacity: 1;
}

.add-to-playlist-btn:hover {
    background: rgb(13, 148, 103);
    transform: scale(1.1);
}

/* Playlist Panel */
.playlist-panel {
    position: fixed;
    right: -420px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    border-left: 1px solid rgba(16, 185, 129, 0.2);
    transition: right 0.3s;
    z-index: 9998;
    display: flex;
    flex-direction: column;
}

.playlist-panel.show {
    right: 0;
}

.playlist-panel-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.playlist-panel-header h3 {
    color: var(--paper-white);
    margin: 0;
}

.create-playlist-btn {
    padding: 8px 16px;
    background: var(--emerald-glow);
    color: var(--ink-black);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.create-playlist-btn:hover {
    background: rgb(13, 148, 103);
}

.close-panel-btn {
    background: transparent;
    border: none;
    color: var(--paper-white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playlist-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.playlists-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.playlist-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.playlist-card:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
}

.playlist-cover {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.playlist-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-playlist-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.95);
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.playlist-card:hover .play-playlist-btn {
    opacity: 1;
}

.playlist-info h4 {
    color: var(--paper-white);
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.playlist-info p {
    color: rgba(250, 250, 250, 0.6);
    font-size: 0.85rem;
    margin: 0;
}

.playlist-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.view-playlist-btn,
.share-playlist-btn {
    flex: 1;
    padding: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--paper-white);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.view-playlist-btn:hover,
.share-playlist-btn:hover {
    border-color: var(--emerald-glow);
    color: var(--emerald-glow);
}

.no-playlists {
    color: rgba(250, 250, 250, 0.6);
    text-align: center;
    padding: 40px 20px;
}

/* Playlist Selector Modal */
.playlist-selector-modal,
.create-playlist-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.playlist-selector-content,
.create-playlist-content {
    background: var(--ink-black);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.playlist-selector-content h3,
.create-playlist-content h2 {
    color: var(--paper-white);
    margin: 0 0 20px 0;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--paper-white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-modal:hover {
    color: var(--emerald-glow);
}

.playlist-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.new-playlist-option {
    padding: 15px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px dashed var(--emerald-glow);
    color: var(--emerald-glow);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.new-playlist-option:hover {
    background: rgba(16, 185, 129, 0.2);
}

.playlist-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
}

.playlist-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.playlist-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.playlist-info {
    flex: 1;
}

.playlist-title {
    display: block;
    color: var(--paper-white);
    font-weight: 600;
    margin-bottom: 5px;
}

.playlist-count {
    display: block;
    color: rgba(250, 250, 250, 0.6);
    font-size: 0.85rem;
}

.add-to-this-playlist {
    padding: 8px 20px;
    background: var(--emerald-glow);
    color: var(--ink-black);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.add-to-this-playlist:hover {
    background: rgb(13, 148, 103);
}

/* Create Playlist Form */
.create-playlist-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: var(--paper-white);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--paper-white);
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
}

.privacy-options,
.cover-options {
    display: flex;
    gap: 15px;
}

.radio-label,
.cover-option {
    flex: 1;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.radio-label:hover,
.cover-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--emerald-glow);
}

.radio-label input[type="radio"],
.cover-option input[type="radio"] {
    margin-right: 8px;
}

.radio-label span {
    display: block;
    color: var(--paper-white);
    font-weight: 600;
    margin-bottom: 5px;
}

.radio-label small {
    display: block;
    color: rgba(250, 250, 250, 0.6);
    font-size: 0.85rem;
}

.cover-preview {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 10px;
}

.auto-cover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.05));
}

.gradient-cover {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cancel-btn,
.create-btn {
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.cancel-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--paper-white);
}

.create-btn {
    background: var(--emerald-glow);
    color: var(--ink-black);
    border: none;
    font-weight: 600;
}

.create-btn:hover {
    background: rgb(13, 148, 103);
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: -100px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.95);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: top 0.3s;
    z-index: 10001;
    font-weight: 600;
}

.notification.show {
    top: 20px;
}

.notification.error {
    background: rgba(239, 68, 68, 0.95);
}

.notification.success {
    background: rgba(16, 185, 129, 0.95);
}

.notification.info {
    background: rgba(59, 130, 246, 0.95);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .comments-section {
        padding: 20px;
    }

    .comments-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment {
        padding: 15px;
    }

    .comment-reply {
        margin-left: 15px !important;
    }

    .rating-summary {
        flex-direction: column;
        text-align: center;
    }

    .rating-container {
        padding: 20px;
    }

    .playlist-panel {
        width: 100%;
        right: -100%;
    }

    .playlist-panel.show {
        right: 0;
    }

    .verse-comment-btn {
        right: 5px;
        opacity: 0.7;
    }

    .add-to-playlist-btn {
        opacity: 1;
    }

    .review-modal-content,
    .playlist-selector-content,
    .create-playlist-content {
        width: 95%;
        padding: 20px;
    }
}
