/* Gothic Theme Colors - Dark Blue / Light Blue */
:root {
    /* Default Dark Theme */
    --gothic-bg-dark: #121212; /* Very dark background */
    --gothic-player-bg: #1e1e1e; /* Slightly lighter panel background */
    --gothic-text-light: #e0e0e0; /* Light text */
    --gothic-accent-blue: #00bfff; /* Deep Sky Blue for accents */
    --gothic-accent-silver: #a0a0a0;
    --gothic-border-dark: #3a3a3a;
    --gothic-button-bg: #007bff; /* Standard blue for buttons */
    --gothic-button-hover: #0056b3; /* Darker blue on hover */
    --gothic-active-button: #00bfff; /* Active state for shuffle/repeat */
    --gothic-active-button-hover: #0099cc;
    --gothic-shadow-color: rgba(0, 0, 0, 0.7); /* Dark shadow for dark theme */
    --gothic-online-dot: #00ff00; /* Bright green for online dot */
    --gothic-input-bg: #2a2a2a; /* For online indicator box */
    --gothic-buffered-color: #606060; /* Color for buffered portion of progress bar */
}

/* Light Theme (when .light-theme class is applied to body) */
body.light-theme {
    --gothic-bg-dark: #f0f0f0; /* Light background */
    --gothic-player-bg: #ffffff; /* White panel background */
    --gothic-text-light: #333333; /* Dark text */
    --gothic-accent-blue: #1a73e8; /* Google Blue for accents */
    --gothic-accent-silver: #666666;
    --gothic-border-dark: #cccccc;
    --gothic-button-bg: #4285f4; /* Google Blue for buttons */
    --gothic-button-hover: #3367d6; /* Darker Google Blue on hover */
    --gothic-active-button: #1a73e8; /* Active state for shuffle/repeat */
    --gothic-active-button-hover: #0d47a1;
    --gothic-shadow-color: rgba(0, 0, 0, 0.2); /* Lighter shadow for light theme */
    --gothic-online-dot: #008000; /* Darker green for light theme */
    --gothic-input-bg: #e0e0e0; /* For online indicator box in light theme */
    --gothic-buffered-color: #a0a0a0; /* Lighter color for buffered portion in light theme */
}

html, body {
    height: 100%; /* Ensure html and body take full height */
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--gothic-bg-dark);
    color: var(--gothic-text-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 15px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Top-level Comments Section (Marquee) - Minimalist */
.top-comments-section {
    width: 100%;
    max-width: 400px; /* Should match player-container max-width */
    margin-bottom: 10px; /* Space between comments and player */
    box-sizing: border-box;
    flex-shrink: 0; /* Prevent shrinking */
    text-align: center; /* Center content */
}
.top-comments-display {
    min-height: 45px; /* Minimum height for marquee */
    overflow: hidden;
    position: relative;
    font-size: 0.85rem;
    color: var(--gothic-text-light);
    line-height: 45px; /* Vertically center text */
    padding: 0 5px; /* Minimal horizontal padding */
}
.top-comment-marquee-content {
    display: flex;
    white-space: nowrap;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    animation: marquee-dupe var(--marquee-duration) linear infinite;
}
.top-comment-text-item {
    padding-right: 20px;
}
@keyframes marquee-dupe {
    0% { transform: translateX(0%); }
    100% { transform: translateX(var(--marquee-scroll-distance)); }
}

.player-container {
    width: 100%;
    max-width: 400px;
    flex-grow: 0;
    background-color: var(--gothic-player-bg);
    border-radius: 1.5rem;
    box-shadow: 0 15px 30px var(--gothic-shadow-color), 0 5px 10px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--gothic-border-dark);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Adjusted gap for better fit */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    overflow-y: visible;
    min-height: 450px;
    height: auto;
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
    position: relative; /* Added for positioning online indicator */
}

.player-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gothic-text-light);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    flex-grow: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    margin-right: 10px;
    display: block; /* Changed to block to allow online indicator below it */
}

/* Style for the clickable title link - NO UNDERLINE */
.player-title-link {
    color: inherit;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player-title-link:hover {
    text-decoration: none;
    opacity: 0.9;
}

/* Online Indicator Styling */
.online-indicator-container {
    position: absolute; /* Position relative to player-header */
    top: calc(100% + 5px); /* Position below the player-title */
    left: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: var(--gothic-input-bg); /* Use a subtle background */
    border: 1px solid var(--gothic-border-dark);
    border-radius: 0.5rem;
    padding: 4px 8px; /* Padding for the box */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10; /* Ensure it's above other elements if needed */
}

.online-dot {
    width: 8px;
    height: 8px;
    background-color: var(--gothic-online-dot);
    border-radius: 50%;
    flex-shrink: 0;
}

.online-count-box {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gothic-text-light);
    line-height: 1; /* Ensure text fits well */
}

/* Player Version Display */
.player-version-display {
    font-size: 0.7rem;
    color: var(--gothic-accent-silver);
    white-space: nowrap;
    flex-shrink: 0;
    padding: 4px 8px;
    background-color: var(--gothic-input-bg);
    border: 1px solid var(--gothic-border-dark);
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-right: 10px; /* НОВОЕ: Отступ справа от следующей кнопки */
}


.player-header-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
}

.btn {
    padding: 0.6rem 1rem;
    border-radius: 0.6rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.btn-secondary {
    background-color: var(--gothic-button-bg);
    color: white;
    border-color: darken(var(--gothic-button-bg), 10%);
}

.btn-secondary:hover {
    background-color: var(--gothic-button-hover);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Active state for shuffle/repeat buttons */
.btn-active {
    background-color: var(--gothic-active-button);
    border-color: darken(var(--gothic-active-button), 10%);
}
.btn-active:hover {
    background-color: var(--gothic-active-button-hover);
}

/* PWA Install Prompt Button - HIDDEN BY DEFAULT, SHOWN BY JS */
#install-pwa-btn {
    display: none; /* Hidden by default, JS will show it if beforeinstallprompt fires */
    background-color: #28a745;
    color: white;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.8);
    margin-top: 0;
}
#install-pwa-btn:hover {
    background-color: darken(#28a745, 10%);
    box-shadow: 0 0 15px rgba(40, 167, 69, 1);
}
/* If in standalone mode, hide it */
@media all and (display-mode: standalone) {
    #install-pwa-btn {
        display: none !important;
    }
}


.current-track-info {
    text-align: center;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.track-cover {
    width: 100%;
    max-width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 5px 15px var(--gothic-shadow-color);
    margin: 0 auto 0.5rem auto;
    display: block;
    border: 1px solid var(--gothic-border-dark);
}

.track-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gothic-accent-blue);
    margin-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 1rem;
    color: var(--gothic-accent-silver);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Playback Status Message */
.playback-status-message {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gothic-accent-silver);
    min-height: 1.2em;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    margin-bottom: 5px;
}
.playback-status-message.show {
    opacity: 1;
    visibility: visible;
}

/* PWA Status Message */
.pwa-status-message {
    position: fixed;
    top: 15px; /* Position at the top */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1002; /* Higher z-index than general message box */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 30px);
    font-size: 0.8em;
}
.pwa-status-message.show {
    opacity: 1;
    visibility: visible;
}


.progress-bar-container {
    width: 100%;
    height: 8px;
    background-color: #404040; /* Background for unbuffered part */
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 0.5rem;
    position: relative; /* Needed for absolute positioning of inner bars */
    flex-shrink: 0;
}

.buffered-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--gothic-buffered-color); /* Color for buffered part */
    border-radius: 4px;
    transition: width 0.1s linear; /* Smooth transition for buffering */
    z-index: 1; /* Ensure it's behind the played progress bar */
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--gothic-accent-blue); /* Color for played part */
    border-radius: 4px;
    transition: width 0.1s linear;
    z-index: 2; /* Ensure it's on top of the buffered bar */
}

/* Draggable thumb for the progress bar */
.progress-thumb {
    position: absolute;
    top: -6px; /* Adjust to center vertically on the bar */
    left: 0%; /* Will be updated by JS */
    width: 20px;
    height: 20px;
    background-color: var(--gothic-accent-blue);
    border-radius: 50%;
    border: 2px solid var(--gothic-text-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    cursor: grab;
    z-index: 3; /* Ensure it's on top of everything */
    transform: translateX(-50%); /* Center the thumb on its left edge */
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.progress-thumb:active {
    cursor: grabbing;
    transform: translateX(-50%) scale(1.1);
}


.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gothic-accent-silver);
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}

.control-btn {
    background-color: var(--gothic-button-bg);
    color: white;
    border-radius: 0.5rem;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 8px var(--gothic-shadow-color);
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

.control-btn:hover {
    background-color: var(--gothic-button-hover);
    transform: scale(1.05);
}

.control-btn:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px var(--gothic-shadow-color);
}

/* Play/Pause button now has the same square style as others */
.play-pause-btn {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}
.volume-container i {
    font-size: 1.2rem;
    color: var(--gothic-accent-silver);
}
.volume-slider {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    background: #404040;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    border: 1px solid var(--gothic-border-dark);
}
.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gothic-accent-blue);
    cursor: pointer;
    box-shadow: 0 2px 4px var(--gothic-shadow-color);
    border: 1px solid var(--gothic-border-dark);
}
.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--gothic-accent-blue);
    cursor: pointer;
    box-shadow: 0 2px 4px var(--gothic-shadow-color);
    border: 1px solid var(--gothic-border-dark);
}

.track-list-container {
    background-color: #353535;
    border-radius: 1rem;
    padding: 0.8rem;
    flex-grow: 1;
    overflow-y: auto;
    border: 1px solid var(--gothic-border-dark);
    box-sizing: border-box;
}

.track-list-header {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.2rem;
    color: var(--gothic-accent-blue);
    border-bottom: 1px solid var(--gothic-border-dark);
    padding-bottom: 0.4rem;
    margin-bottom: 0.6rem;
    text-align: center;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 0.6rem;
    border-bottom: 1px solid #3a3a3a;
    cursor: pointer;
    transition: background-color 0.2s ease;
    position: relative; /* For delete button positioning */
}

.track-item:last-child {
    border-bottom: none;
}

.track-item:hover {
    background-color: #404040;
    border-radius: 0.5rem;
}

.track-item.active {
    background-color: var(--gothic-button-bg);
    color: white;
    border-radius: 0.5rem;
}

.track-item.active .track-order,
.track-item.active .track-name {
    color: white;
}

.track-order {
    font-size: 0.8rem;
    color: var(--gothic-accent-silver);
    margin-right: 0.6rem;
    flex-shrink: 0;
    width: 20px;
    text-align: right;
}

.track-name {
    font-size: 0.9rem;
    font-weight: 500;
    flex-grow: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px; /* Space for delete button */
}

/* Delete button for offline tracks */
.delete-offline-btn {
    background-color: #dc3545; /* Red color for delete */
    color: white;
    border: none;
    border-radius: 0.4rem;
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    margin-left: auto; /* Push to the right */
    flex-shrink: 0;
    display: none; /* Hidden by default, shown when offline */
}
.track-item.offline-mode .delete-offline-btn {
    display: inline-flex; /* Show when in offline mode */
    align-items: center;
    justify-content: center;
}
.delete-offline-btn:hover {
    background-color: #c82333;
    transform: translateY(-1px);
}
.delete-offline-btn:active {
    transform: translateY(0);
}

/* Message Box Styling (for general notifications) */
.message-box {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 30px);
}
.message-box.show {
    opacity: 1;
    visibility: visible;
}

/* Comment Input Modal */
.comment-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.comment-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.comment-modal-content {
    background-color: var(--gothic-player-bg);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 20px var(--gothic-shadow-color);
    border: 2px solid var(--gothic-border-dark);
    max-width: 350px;
    width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.comment-modal-content h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    color: var(--gothic-accent-blue);
    margin-bottom: 0.5rem;
}
.comment-modal-content textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 0.5rem;
    border: 1px solid var(--gothic-border-dark);
    background-color: var(--gothic-bg-dark);
    color: var(--gothic-text-light);
    font-family: 'Spectral', serif;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
    font-size: 0.9rem;
}
.comment-modal-content .char-count {
    font-size: 0.8rem;
    color: var(--gothic-accent-silver);
    text-align: right;
}
.comment-modal-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 0.5rem;
}
.comment-modal-actions .btn {
    flex-grow: 1;
}

/* Update Notification Modal */
.update-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1003; /* Higher than other modals */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.update-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}
.update-modal-content {
    background-color: var(--gothic-player-bg);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 20px var(--gothic-shadow-color);
    border: 2px solid var(--gothic-border-dark);
    max-width: 350px;
    width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.update-modal-content h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.5rem;
    color: var(--gothic-accent-blue);
    margin-bottom: 0.5rem;
}
.update-modal-content p {
    font-size: 1rem;
    color: var(--gothic-text-light);
}
.update-modal-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 0.5rem;
}
.update-modal-actions .btn {
    flex-grow: 1;
}


/* Fullscreen Mode Styles */
body.fullscreen {
    background-color: #000;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow: auto;
}
body.fullscreen .player-container {
    max-width: 95%;
    max-height: 95vh;
    width: auto;
    padding: 2rem;
    border-radius: 2rem;
    overflow-y: auto;
}
body.fullscreen .top-comments-section {
    display: none;
}
body.fullscreen .track-cover {
    max-width: 200px;
    height: 200px;
}
body.fullscreen .player-title {
    font-size: 2.5rem;
}
body.fullscreen .track-title {
    font-size: 1.8rem;
}
body.fullscreen .track-artist {
    font-size: 1.1rem;
}
body.fullscreen .controls {
    gap: 1rem;
}
body.fullscreen .control-btn {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
}
body.fullscreen .play-pause-btn {
    width: 50px;
    height: 50px;
    font-size: 2.0rem;
}
body.fullscreen .track-list-container {
    /* max-height: unset; */
}
body.fullscreen .comment-modal-content {
    max-width: 500px;
}
/* Header buttons in fullscreen mode */
body.fullscreen .header-control-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .top-comments-section {
        padding: 0;
        margin-bottom: 8px;
    }
    .top-comments-display {
        min-height: 40px;
        padding: 0 5px;
        line-height: 40px;
    }
    .top-comment-text {
        font-size: 0.8rem;
    }

    .player-container {
        padding: 1rem;
        gap: 0.6rem;
        border-radius: 1rem;
        height: auto;
        min-height: 400px;
    }
    .player-title {
        font-size: 1.1rem;
    }
    /* Adjust online indicator for mobile */
    .online-indicator-container {
        top: calc(100% + 3px);
        padding: 3px 6px;
        gap: 4px;
    }
    .online-dot {
        width: 7px;
        height: 7px;
    }
    .online-count-box {
        font-size: 0.7rem;
    }
    /* Adjust version display for mobile */
    .player-version-display {
        font-size: 0.6rem;
        padding: 2px 5px;
        margin-right: 8px; /* НОВОЕ: Отступ справа для мобильных */
    }

    .btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    .header-control-btn {
        width: 35px;
        height: 35px;
        font-size: 1.0rem;
    }
    #install-pwa-btn {
        width: auto;
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
    .track-cover {
        max-width: 100px;
        height: 100px;
    }
    .track-title {
        font-size: 1.2rem;
    }
    .track-artist {
        font-size: 0.85rem;
    }
    .controls {
        gap: 0.6rem;
    }
    .control-btn {
        width: 35px;
        height: 35px;
        font-size: 1.0rem;
    }
    .play-pause-btn {
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    .volume-container {
        gap: 0.5rem;
    }
    .volume-container i {
        font-size: 1.0rem;
    }
    .volume-slider::-webkit-slider-thumb,
    .volume-slider::-moz-range-thumb {
        width: 14px;
        height: 14px;
    }
    .track-list-container {
        padding: 0.6rem;
    }
    .track-list-header {
        font-size: 1.1rem;
    }
    .track-item {
        padding: 0.5rem;
    }
    .track-order {
        font-size: 0.75rem;
    }
    .track-name {
        font-size: 0.85rem;
    }
    .comment-modal-content {
        padding: 1.5rem;
        gap: 0.8rem;
    }
    .comment-modal-content h2 {
        font-size: 1.3rem;
    }
    .comment-modal-content textarea {
        min-height: 60px;
        font-size: 0.85rem;
    }
    .comment-modal-actions .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

