/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background-color: #f9fafb;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 2rem;
    width: 2rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(to right, #9333ea, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.search-container {
    flex: 1;
    max-width: 32rem;
    margin: 0 2rem;
}

.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    height: 1.25rem;
    width: 1.25rem;
    color: #9ca3af;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #1f2937;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.search-input::placeholder {
    color: #6b7280;
}

.search-input:focus {
    outline: none;
    ring: 2px solid #8b5cf6;
    border-color: #8b5cf6;
    background: rgba(255, 255, 255, 0.9);
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #8b5cf6;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 9999px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.auth-btn:hover {
    background: #7c3aed;
}

.auth-icon {
    height: 1rem;
    width: 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #faf5ff 0%, #e0e7ff 100%);
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title-gradient {
    background: linear-gradient(to right, #8b5cf6, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #8b5cf6;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px 0 rgba(139, 92, 246, 0.39);
}

.btn-primary:hover {
    background: #7c3aed;
    transform: scale(1.05);
}

.btn-secondary {
    border: 2px solid #8b5cf6;
    color: #8b5cf6;
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #faf5ff;
}

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

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-img {
    width: 100%;
    height: 24rem;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.2) 0%, transparent 100%);
}

.hero-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button {
    background: rgba(255, 255, 255, 0.9);
    color: #8b5cf6;
    border: none;
    border-radius: 50%;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.1);
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.play-icon {
    height: 3rem;
    width: 3rem;
}

/* Keywords Section */
.keywords {
    padding: 2rem 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.keywords-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.keywords-label {
    color: #6b7280;
    font-weight: 500;
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.keyword-btn {
    background: #f3e8ff;
    color: #7c3aed;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.keyword-btn:hover {
    background: #e9d5ff;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

/* Main Content */
.main {
    padding: 2rem 0;
}

.main-header {
    margin-bottom: 2rem;
}

.main-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.main-description {
    color: #6b7280;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.video-card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.video-card:hover {
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.video-card:hover .video-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.video-play-icon {
    height: 3rem;
    width: 3rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-play-icon {
    opacity: 1;
}

.video-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.duration-icon {
    height: 0.75rem;
    width: 0.75rem;
}

.video-content {
    padding: 1rem;
}

.video-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.video-card:hover .video-title {
    color: #8b5cf6;
}

.video-author {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.video-meta {
    display: flex;
    align-items: center;
    color: #9ca3af;
    font-size: 0.875rem;
    gap: 1rem;
}

.video-views {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.view-icon {
    height: 1rem;
    width: 1rem;
}

/* Loading */
.loading {
    text-align: center;
    padding: 2rem 0;
}

.loading-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
}

.load-more-section {
    border-bottom: 1px solid #374151;
}

.load-more-content {
    text-align: center;
    padding: 2rem 0;
}

.load-more-btn {
    background: #8b5cf6;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    background: #7c3aed;
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.load-more-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.footer-main {
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-brand {
    grid-column: span 2;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 2rem;
    width: 2rem;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #9ca3af;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: white;
}

.social-link svg {
    height: 1.25rem;
    width: 1.25rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-column-title {
    font-weight: 600;
    color: #c084fc;
    margin-bottom: 1rem;
}

.footer-column-links {
    list-style: none;
}

.footer-column-links li {
    margin-bottom: 0.5rem;
}

.footer-column-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 3rem;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-copyright {
    color: #9ca3af;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Design */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .keywords-content {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }
    
    .hero-title {
        font-size: 3.75rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 4fr 1fr;
    }
}

@media (min-width: 1280px) {
    .container {
        padding: 0 2rem;
    }
}

/* Video Page Layout */
.video-page {
    min-height: 100vh;
    background-color: #f9fafb;
}

.container-video {
    max-width: 1800px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* Back Button */
.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #4b5563;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.back-btn:hover {
    color: #1f2937;
}

.back-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Video Layout */
.video-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .video-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* Left Panel */
.left-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Video Player */
.video-player {
    position: relative;
    background-color: #000;
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

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

.video-player-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
}

.play-btn-large {
    width: 5rem;
    height: 5rem;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.play-btn-large:hover {
    background-color: #fff;
}

.play-icon-large {
    width: 2rem;
    height: 2rem;
    color: #1f2937;
    margin-left: 0.25rem;
}

/* Video Details */
.video-details {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.video-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.video-category {
    background-color: #f3e8ff;
    color: #7c3aed;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-weight: 500;
}

.meta-separator {
    color: #9ca3af;
}

/* Creator Section */
.creator-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 1rem;
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.creator-avatar {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to bottom right, #3b82f6, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.125rem;
}

.creator-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.creator-role {
    font-size: 0.875rem;
    color: #4b5563;
}

/* Video Actions */
.video-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #f3f4f6;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
}

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

.action-btn-primary {
    background-color: #8b5cf6;
    color: #fff;
}

.action-btn-primary:hover {
    background-color: #7c3aed;
}

.action-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Abstract Section */
.abstract-section {
    margin-top: 1rem;
}

.abstract-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.abstract-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.chevron-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #4b5563;
}

.abstract-content {
    margin-top: 0.75rem;
    color: #374151;
    line-height: 1.75;
    font-size: 0.875rem;
    text-align: justify;
}

.abstract-content p {
    margin-bottom: 0.75rem;
}

.abstract-content p:last-child {
    margin-bottom: 0;
}

/* Right Panel - Comments */
.right-panel {
    position: relative;
}

.comments-container {
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 1.5rem;
}

.comments-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

/* Comment Form */
.comment-form {
    margin-bottom: 1.5rem;
}

.comment-input-wrapper {
    display: flex;
    gap: 0.75rem;
}

.user-avatar-small {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    background: linear-gradient(to bottom right, #10b981, #14b8a6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
}

.comment-input-container {
    flex: 1;
}

.comment-textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    resize: none;
    font-family: inherit;
}

.comment-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.comment-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.comment-submit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #8b5cf6;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.comment-submit-btn:hover {
    background-color: #7c3aed;
}

.comment-submit-btn:disabled {
    background-color: #d1d5db;
    cursor: not-allowed;
}

.submit-icon {
    width: 1rem;
    height: 1rem;
}

/* Comments List */
.comments-list {
    max-height: 600px;
    overflow-y: auto;
}

/* Individual Comment */
.comment-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 1rem;
}

.comment-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.comment-header {
    display: flex;
    gap: 0.75rem;
}

.comment-avatar {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.comment-body {
    flex: 1;
}

.comment-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.comment-author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}

.comment-time {
    font-size: 0.75rem;
    color: #6b7280;
}

.comment-menu-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: color 0.2s;
}

.comment-menu-btn:hover {
    color: #374151;
}

.comment-menu-icon {
    width: 1rem;
    height: 1rem;
}

.comment-menu {
    position: absolute;
    right: 0;
    margin-top: 0.25rem;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 0.25rem;
    z-index: 10;
    min-width: 120px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
    text-align: left;
}

.menu-item:hover {
    background-color: #f3f4f6;
}

.menu-item.delete {
    color: #dc2626;
}

.menu-item.delete:hover {
    background-color: #fef2f2;
}

.menu-icon {
    width: 0.75rem;
    height: 0.75rem;
}

.comment-text {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.comment-edit-form {
    margin-bottom: 0.5rem;
}

.comment-edit-textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    resize: none;
    font-family: inherit;
    margin-bottom: 0.5rem;
}

.comment-edit-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.comment-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.cancel-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    color: #4b5563;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.cancel-btn:hover {
    color: #1f2937;
}

.save-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    background-color: #8b5cf6;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.save-btn:hover {
    background-color: #7c3aed;
}

.comment-interactions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.interaction-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 0.2s;
}

.interaction-btn:hover {
    color: #8b5cf6;
}

.interaction-icon {
    width: 1rem;
    height: 1rem;
}

/* Reply Form */
.reply-form {
    margin-top: 0.75rem;
    margin-left: 1rem;
}

.reply-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.reply-avatar-small {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    background: linear-gradient(to bottom right, #10b981, #14b8a6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.75rem;
}

.reply-input-container {
    flex: 1;
}

.reply-textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    resize: none;
    font-family: inherit;
}

.reply-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.reply-cancel-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    color: #4b5563;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.reply-cancel-btn:hover {
    color: #1f2937;
}

.reply-submit-btn {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    background-color: #8b5cf6;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.reply-submit-btn:hover {
    background-color: #7c3aed;
}

.reply-submit-btn:disabled {
    background-color: #d1d5db;
    cursor: not-allowed;
}

/* Replies List */
.replies-list {
    margin-top: 0.75rem;
    margin-left: 1rem;
}

.reply-item {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.reply-avatar {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
    border-radius: 50%;
    object-fit: cover;
}

.reply-body {
    flex: 1;
}

.reply-author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.reply-author {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1f2937;
}

.reply-time {
    font-size: 0.75rem;
    color: #6b7280;
}

.reply-text {
    font-size: 0.75rem;
    color: #374151;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.reply-like-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 0.2s;
}

.reply-like-btn:hover {
    color: #8b5cf6;
}

.reply-like-icon {
    width: 0.75rem;
    height: 0.75rem;
}

.text-primary {
    color: #8b5cf6;
}