/* Comments Section */
.watch-comments-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
}

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

.watch-comments-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

/* Comments Grid */
.watch-comments-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Comments List */
.watch-comments-list-container {
    width: 100%;
}

.watch-comments-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.watch-comment-item {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.watch-comment-item:hover {
    border-color: rgba(209, 31, 112, 0.2);
    box-shadow: 0 4px 12px rgba(209, 31, 112, 0.02);
    background-color: #ffffff;
}

.watch-comment-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.watch-comment-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.watch-comment-meta {
    flex: 1;
}

.watch-comment-author {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 3px 0;
}

.watch-comment-date {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.watch-comment-text {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

/* No Comments */
.watch-no-comments {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
}

.watch-empty-icon {
    width: 4rem;
    height: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.watch-empty-text {
    color: #6b7280;
    font-size: 0.9375rem;
    font-style: italic;
}

/* Comment Form Wrapper inside Modal */
.watch-comment-form-wrapper {
    width: 100%;
}

.watch-comment-form {
    background-color: #ffffff;
}

.watch-form-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.watch-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.watch-form-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.watch-form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
    background-color: #fff;
    resize: vertical;
}

.watch-form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(209, 31, 112, 0.1);
}

.watch-form-textarea::placeholder {
    color: #9ca3af;
}

.watch-form-actions {
    margin: 0;
}

.watch-submit-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(209, 31, 112, 0.15);
}

.watch-submit-btn:hover {
    background-color: var(--hover-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(209, 31, 112, 0.25);
}

.watch-btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Login Prompt in Modal */
.watch-login-prompt {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border: none;
}

.watch-login-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.watch-login-icon {
    width: 3.5rem;
    height: 3.5rem;
    color: #94a3b8;
}

.watch-login-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.watch-login-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 24px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.watch-login-btn:hover {
    background-color: var(--hover-color);
    color: #fff;
    text-decoration: none;
}

/* Modal Open Button */
.btn-open-modal {
    background-color: var(--primary-color);
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(209, 31, 112, 0.15);
    text-decoration: none;
}

.btn-open-modal:hover {
    background-color: var(--hover-color);
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(209, 31, 112, 0.25);
    text-decoration: none;
}

/* Premium Modal Overlay & Container */
.watch-custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.watch-custom-modal.active {
    display: flex;
}

.watch-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    animation: fadeInOverlay 0.3s ease forwards;
}

.watch-modal-container {
    position: relative;
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 10000;
    transform: scale(0.95);
    opacity: 0;
    animation: modalScaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.watch-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.watch-modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.watch-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    line-height: 1;
}

.watch-modal-close:hover {
    color: #0f172a;
}

.watch-modal-body {
    padding: 24px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Comment Replies */
.watch-comment-replies-list {
    margin-left: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
    border-left: 2px dashed #e2e8f0;
    padding-left: 1rem;
}

.watch-comment-item.watch-reply-item {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #94a3b8;
    border-radius: 8px;
    padding: 12px 16px;
}

.watch-comment-item.watch-reply-item:hover {
    border-color: #cbd5e1;
    box-shadow: none;
    background-color: #f8fafc;
}

.watch-comment-item.watch-reply-item.admin-reply {
    background-color: #fff0f5;
    border-left: 3px solid var(--primary-color);
    border-color: rgba(209, 31, 112, 0.1);
}

.watch-comment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    align-items: center;
}

.watch-comment-reply-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.watch-comment-reply-btn:hover {
    background-color: var(--bg-light);
}

.watch-reply-form-container {
    margin-top: 0.75rem;
    width: 100%;
}

.watch-reply-submit-form {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.watch-reply-submit-form textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    resize: vertical;
    outline: none;
}

.watch-reply-submit-form textarea:focus {
    border-color: var(--primary-color);
}

.watch-reply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.watch-reply-cancel-btn {
    background-color: #fff;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 6px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.watch-reply-cancel-btn:hover {
    background-color: #f1f5f9;
}

.watch-reply-submit-btn {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 6px 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.watch-reply-submit-btn:hover {
    background-color: var(--hover-color);
}

.watch-reply-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.watch-comment-author-badge {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
}

/* Animations */
@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalScaleUp {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .watch-comments-section {
        padding: 1rem;
    }

    .watch-comment-avatar {
        width: 2.5rem;
        height: 2.5rem;
    }

    .watch-comment-replies-list {
        margin-left: 1.5rem;
        padding-left: 0.75rem;
    }
}

@media (max-width: 480px) {
    .watch-comments-title {
        font-size: 1rem;
    }

    .watch-comment-item {
        padding: 0.875rem;
    }

    .watch-comment-author {
        font-size: 0.875rem;
    }

    .watch-comment-text {
        font-size: 0.875rem;
    }

    .watch-comment-avatar {
        width: 2.25rem;
        height: 2.25rem;
    }

    .watch-form-textarea {
        font-size: 0.875rem;
    }

    .watch-submit-btn {
        font-size: 0.875rem;
        padding: 0.625rem 1.25rem;
    }
}