/* Comment delete button and icon */
.comment-delete-btn {
    background: #1db954;
    border: none;
    float: right;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    vertical-align: middle;
    display: inline-block;
}

.comment-delete-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    display: inline-block;
}

.comment-text-inline {
    display: inline;
}
/* Tools header bar */

.tools-header {
    text-align: right;
    padding: 5px;
    transition: padding 0.3s ease;
}

.header-button {
    background: #181818;
    color: white;
    border: 1px solid #333;
    border-radius: 8px;
    font-weight: normal;
    cursor: pointer;
    padding: 10px 16px;
    height: 95%;
}

.header-button:hover {
    background: #2a2a2a;    
}

.styled-select {
    height: 95%;
    padding: 10px 16px;
    background: #181818;
    color: white;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 1em;
    outline: none;
    appearance: none;
}

/* Styled .amvp upload input */
.styled-upload {
    height: 95%;
    padding: 10px 16px;
    background: #181818;
    border: 1px solid #333;
    border-radius: 8px;
    font-size: 1em;
    cursor: pointer;
    outline: none;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

header {
    background-color: #1e1e1e;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #333;
}


audio {
    width: 100%;
    max-width: 600px;
    margin-top: 10px;
}

/* Split Screen Layout */
.main-container {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Left Side: Lyrics Timeline */
.lyric-timeline {
    flex: 1;
    border-right: 1px solid #333;
    overflow-y: auto;
    padding: 20px;
}

.lyric-line {
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    background: #1e1e1e;
}

.lyric-line:hover {
    background: #2a2a2a;
}

.lyric-line.active {
    background: #1db954; /* Spotify green */
    color: #000;
    font-weight: bold;
    transform: scale(1.02);
}

.timestamp {
    font-size: 0.85em;
    opacity: 0.7;
}

/* Right Side: Comments Area */
.comment-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #181818;
}

.comments-display {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.comment-box {
    background: #282828;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    border-left: 4px solid #1db954;
}

.comment-time {
    font-size: 0.8rem; /* fixed typo */
    color: #1db954;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 5px;
    display: inline-block;
}

.comment-form {
    padding: 20px;
    background: #1e1e1e;
    border-top: 1px solid #333;
    display: flex;
    gap: 10px;
}

input[type="text"] {
    flex: 1;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #2a2a2a;
    color: white;
}

button {
    padding: 12px 20px;
    background: #1db954;
    color: black;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background: #1ed760;
}
