* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier Prime', monospace;
    background: #1a1a1a;
    overflow: hidden;
    height: 100vh;
}

/* Login Page Styles */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #2a1810 0%, #3d2817 50%, #2a1810 100%);
    background-attachment: fixed;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, transparent 20%, rgba(255,182,193,0.03) 21%, rgba(255,182,193,0.03) 34%, transparent 35%, transparent),
        radial-gradient(circle at 80% 20%, transparent 20%, rgba(255,105,180,0.02) 21%, rgba(255,105,180,0.02) 34%, transparent 35%, transparent);
    background-size: 50px 50px, 80px 80px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.login-box {
    background: rgba(40, 30, 25, 0.95);
    border: 2px solid #8B4513;
    border-radius: 15px;
    padding: 40px;
    min-width: 380px;
    max-width: 90vw;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
}

.login-header {
    margin-bottom: 30px;
}

.login-header i {
    font-size: 32px;
    color: #FF69B4;
    margin-bottom: 15px;
    animation: heartbeat 2s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.login-header h1 {
    color: #F5DEB3;
    font-size: 24px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.login-content {
    color: #E6D3B7;
}

.login-question {
    font-size: 16px;
    margin-bottom: 8px;
    color: #FFB6C1;
    font-weight: bold;
}

.login-hint {
    font-size: 12px;
    color: #D2B48C;
    margin-bottom: 25px;
    opacity: 0.8;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.input-group input {
    flex: 1;
    background: rgba(20, 15, 10, 0.8);
    border: 2px solid #654321;
    color: #F5DEB3;
    padding: 12px 15px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #FF69B4;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

.input-group input::placeholder {
    color: #8B7355;
}

.login-btn {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    border: 2px solid #CD853F;
    color: #F5DEB3;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover {
    background: linear-gradient(135deg, #A0522D 0%, #CD853F 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.login-error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    color: #ffcccc;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.desktop {
    width: 100vw;
    height: 100vh;
    position: relative;
    background: linear-gradient(45deg, #2a2a2a 25%, #3a3a3a 25%, #3a3a3a 50%, #2a2a2a 50%, #2a2a2a 75%, #3a3a3a 75%, #3a3a3a);
    background-size: 4px 4px;
    overflow: hidden;
}

.background-texture {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, transparent 20%, rgba(255,255,255,0.02) 21%, rgba(255,255,255,0.02) 34%, transparent 35%, transparent),
        linear-gradient(0deg, rgba(255,255,255,0.02) 50%, transparent 50%);
    background-size: 50px 50px, 2px 2px;
    pointer-events: none;
    opacity: 0.3;
}

.icon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 90px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    z-index: 10;
}

.icon:hover {
    transform: scale(1.1);
}

.icon:active {
    transform: scale(0.95);
}

.icon i {
    font-size: 32px;
    color: #e0e0e0;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.1));
}

.icon span {
    font-size: 11px;
    color: #d0d0d0;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.4);
    padding: 2px 6px;
    border-radius: 3px;
    backdrop-filter: blur(2px);
    line-height: 1.2;
    max-width: 80px;
    word-wrap: break-word;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    pointer-events: none;
}

.modal-content {
    background: #2a2a2a;
    position: absolute;
    border: 2px solid #555;
    border-radius: 8px;
    width: 600px;
    max-width: calc(100vw - 20px);
    min-width: 300px;
    min-height: 200px;
    max-height: calc(100vh - 20px);
    overflow: visible;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    resize: none;
    transition: none;
    pointer-events: auto;
}

/* Prevent modal from going off-screen */
.modal-content {
    contain: layout;
}

/* Remove duplicate hover effect */

/* Modal animations */
.modal-content {
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0.5;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Consistent styling for all modal windows */
.modal .modal-content {
    border-color: #555;
    background: #2a2a2a;
}

/* Focused modal styling */
.modal:hover .modal-content {
    border-color: #777;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}

.modal-header {
    background: #1a1a1a;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
    cursor: move;
    user-select: none;
    position: relative;
}

.modal-header:hover {
    background: #222;
}

.modal-title {
    color: #e0e0e0;
    font-size: 16px;
    font-weight: bold;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.view-toggle-btn {
    background: #333;
    border: none;
    border-radius: 4px;
    color: #e0e0e0;
    padding: 6px 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: auto;
    margin-left: 10px;
    font-size: 14px;
}

.view-toggle-btn:hover {
    background: #555;
    color: #fff;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    pointer-events: auto;
}

.close:hover {
    color: #fff;
}

.modal-body {
    padding: 20px;
    color: #d0d0d0;
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100% - 80px);
    max-height: calc(80vh - 80px);
    background: #2a2a2a;
}

/* Resize handle - bottom right */
.resize-handle {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 20px;
    height: 20px;
    cursor: se-resize;
    background: linear-gradient(-45deg, transparent 0%, transparent 40%, #555 40%, #555 60%, transparent 60%);
    z-index: 10;
}

.resize-handle:hover {
    background: linear-gradient(-45deg, transparent 0%, transparent 40%, #777 40%, #777 60%, transparent 60%);
}

/* Resize handle - top left */
.resize-handle-tl {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    cursor: nw-resize;
    background: linear-gradient(135deg, transparent 0%, transparent 40%, #555 40%, #555 60%, transparent 60%);
    z-index: 10;
}

.resize-handle-tl:hover {
    background: linear-gradient(135deg, transparent 0%, transparent 40%, #777 40%, #777 60%, transparent 60%);
}

/* Dragging state */
.modal-content.dragging {
    transition: none;
    user-select: none;
}

/* Resizing state */
.modal-content.resizing {
    transition: none;
}

/* Media Containers */
.media-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.media-item {
    background: #1a1a1a;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 15px;
    position: relative;
}

.media-item h3 {
    color: #e0e0e0;
    margin-bottom: 10px;
    font-size: 14px;
}

.media-item img,
.media-item video {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.media-item audio {
    width: 100%;
}

.media-item .note-content {
    line-height: 1.5;
    white-space: pre-wrap;
}

.delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4444;
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delete-btn:hover {
    background: #ff6666;
}

/* Music Player Styles */
.music-player {
    color: #e0e0e0;
    width: 100%;
}

.music-player-layout {
    display: flex;
    gap: 20px;
    min-height: 400px;
}

.player-main {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.playlist-container {
    flex: 1;
    min-width: 200px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    padding: 15px;
    overflow: hidden;
}

.playlist-title {
    color: #e0e0e0;
    margin-bottom: 15px;
    font-size: 16px;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

.playlist {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin-bottom: 2px;
    position: relative;
}

.playlist-item:hover {
    background: #333;
    transform: translateX(2px);
}

.playlist-item.active {
    background: #0066cc;
    color: #ffffff;
}

.playlist-item.active:hover {
    background: #0080ff;
}

.playlist-item-number {
    min-width: 24px;
    font-size: 12px;
    color: #888;
    margin-right: 8px;
}

.playlist-item.active .playlist-item-number {
    color: #ffffff;
    font-weight: bold;
}

.playlist-item-name {
    flex: 1;
    font-size: 13px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.playlist-item-indicator {
    margin-left: 8px;
    font-size: 10px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.track-info {
    text-align: center;
    margin-bottom: 20px;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #333;
}

.track-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.track-artist {
    font-size: 12px;
    color: #888;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.control-hints {
    display: none;
}

.control-btn {
    background: #333;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: #555;
    transform: scale(1.05);
}

.control-btn.play {
    background: #0066cc;
    width: 60px;
    height: 60px;
}

.control-btn.play:hover {
    background: #0080ff;
}

.progress-bar {
    background: #333;
    height: 6px;
    border-radius: 3px;
    margin-bottom: 10px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        #222 0%, 
        #444 20%, 
        #555 80%, 
        #222 100%
    );
    opacity: 0.5;
}

.progress {
    background: linear-gradient(90deg, #0066cc, #00aaff);
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 0.1s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.3);
}

.progress-bar:hover .progress {
    background: linear-gradient(90deg, #0080ff, #00ccff);
    box-shadow: 0 0 15px rgba(0, 128, 255, 0.5);
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

/* Removed song-specific styling - now uses unified media-description-container */

/* Media Viewer Styles */
.media-viewer {
    color: #e0e0e0;
    width: 100%;
}

.media-viewer-layout {
    display: flex;
    gap: 20px;
    min-height: 400px;
}

.viewer-main {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.image-display, .video-display {
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    padding: 20px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-display img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.image-display img:hover {
    transform: scale(1.02);
}

.video-display video {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
}

.image-info, .video-info {
    text-align: center;
    padding: 15px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.image-info h3, .video-info h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.image-info p, .video-info p {
    color: #888;
    font-size: 12px;
    margin: 0;
}

.image-controls, .video-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.media-list-container {
    flex: 1;
    min-width: 250px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    padding: 15px;
    overflow: hidden;
}

.media-list-title {
    color: #e0e0e0;
    margin-bottom: 15px;
    font-size: 16px;
    border-bottom: 1px solid #333;
    padding-bottom: 8px;
}

.media-list {
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
}

.media-list-item {
    display: flex;
    align-items: center;
    padding: 10px 8px;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
    margin-bottom: 2px;
    position: relative;
}

.media-list-item:hover {
    background: #333;
    transform: translateX(2px);
}

.media-list-item.active {
    background: #0066cc;
    color: #ffffff;
}

.media-list-item.active:hover {
    background: #0080ff;
}

.media-list-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    overflow: hidden;
    margin-right: 10px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.media-list-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail {
    background: #2a2a2a;
    position: relative;
    color: #888;
}

.video-thumbnail i {
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.thumbnail-text {
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0,0,0,0.7);
    padding: 1px 3px;
    border-radius: 2px;
    color: #fff;
}

.media-list-info {
    flex: 1;
    min-width: 0;
}

.media-list-name {
    font-size: 13px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 2px;
}

.media-list-number {
    font-size: 11px;
    color: #888;
}

.media-list-item.active .media-list-number {
    color: #ffffff;
}

.media-list-indicator {
    margin-left: 8px;
    font-size: 10px;
    animation: pulse 1.5s infinite;
}

.media-description-container {
    margin-top: 15px;
    padding: 15px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.media-description-text {
    color: #e0e0e0;
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
    text-align: center;
    margin: 0;
    white-space: pre-wrap;
}

/* Gift Viewer Specific Styles */
.gift-display {
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    padding: 30px;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-text-content {
    max-width: 100%;
    text-align: center;
}

.gift-text-body {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    font-style: italic;
    white-space: pre-wrap;
    max-width: 500px;
    margin: 0 auto;
}

.gift-audio-player {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.audio-info {
    margin-bottom: 20px;
}

.gift-info, .gift-controls {
    text-align: center;
    padding: 15px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    margin-bottom: 15px;
}

.gift-info h3 {
    margin-bottom: 5px;
    font-size: 18px;
    color: #e0e0e0;
}

.gift-info p {
    color: #888;
    font-size: 12px;
    margin: 0;
}

.gift-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 0;
}

.gift-thumbnail {
    background: #2a2a2a;
    position: relative;
    color: #888;
}

.gift-thumbnail i {
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.gift-thumbnail .thumbnail-text {
    font-size: 8px;
    font-weight: bold;
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0,0,0,0.7);
    padding: 1px 3px;
    border-radius: 2px;
    color: #fff;
}

/* Gift type specific styling */
.gift-thumbnail[data-type="audio"] i {
    color: #0066cc;
}

.gift-thumbnail[data-type="video"] i {
    color: #ff6b6b;
}

.gift-thumbnail[data-type="note"] i {
    color: #ff6b9d;
}

.gift-thumbnail[data-type="image"] {
    padding: 0;
    overflow: hidden;
}

/* Artwork Viewer Styles */
.artwork-viewer {
    padding: 20px;
}

.artwork-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.artwork-header h3 {
    color: #e0e0e0;
    font-size: 24px;
    margin-bottom: 5px;
}

.artwork-header p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

.artwork-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-height: 500px;
    overflow-y: auto;
    padding: 10px;
}

.artwork-item {
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.artwork-item:hover {
    transform: translateY(-2px);
    border-color: #0066cc;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.2);
}

.artwork-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.artwork-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: #0a0a0a;
}

.artwork-item:hover .artwork-thumbnail {
    transform: scale(1.05);
}

.artwork-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.artwork-item:hover .artwork-overlay {
    opacity: 1;
}

.artwork-overlay i {
    font-size: 24px;
    margin-bottom: 8px;
}

.artwork-overlay span {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.artwork-info {
    padding: 15px;
}

.artwork-title {
    color: #e0e0e0;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
}

.artwork-description {
    color: #888;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    font-style: italic;
}

/* Artwork Fullscreen Styles */
.artwork-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.artwork-fullscreen.active {
    opacity: 1;
    visibility: visible;
}

.artwork-fullscreen-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.artwork-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
    z-index: 10001;
}

.artwork-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.artwork-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 10001;
}

.artwork-nav-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    pointer-events: all;
}

.artwork-nav-btn:hover {
    background: rgba(0, 102, 204, 0.8);
    transform: scale(1.1);
}

.artwork-prev {
    margin-left: -25px;
}

.artwork-next {
    margin-right: -25px;
}

#artworkFullscreenImage {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.artwork-fullscreen-info {
    text-align: center;
    margin-top: 20px;
    color: white;
}

.artwork-fullscreen-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.artwork-fullscreen-info p {
    margin: 5px 0;
    opacity: 0.8;
}

#artworkFullscreenDescription {
    font-style: italic;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .login-box {
        min-width: 300px;
        padding: 30px 20px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .icon {
        width: 60px;
        height: 70px;
    }
    
    .icon i {
        font-size: 24px;
    }
    
    .icon span {
        font-size: 10px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .music-player-layout {
        flex-direction: column;
    }
    
    .playlist-container {
        min-width: auto;
    }
    
    .playlist {
        max-height: 200px;
    }

    .media-viewer-layout {
        flex-direction: column;
    }
    
    .media-list-container {
        min-width: auto;
        max-height: 200px;
    }
    
    .media-list {
        max-height: 150px;
    }
    
    .image-display, .video-display {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .login-box {
        min-width: 280px;
        padding: 25px 15px;
    }
    
    .login-header h1 {
        font-size: 20px;
    }
    
    .login-question {
        font-size: 14px;
    }
    
    .icon {
        width: 50px;
        height: 60px;
    }
    
    .icon i {
        font-size: 20px;
        margin-bottom: 4px;
    }
    
    .icon span {
        font-size: 9px;
        padding: 1px 4px;
    }
} 

/* Ensure ALL modal windows have identical styling */
.modal .modal-content {
    background: #2a2a2a !important;
    border: 2px solid #555 !important;
}

.modal .modal-header {
    background: #1a1a1a !important;
    border-bottom: 1px solid #444 !important;
}

.modal .modal-body {
    background: #2a2a2a !important;
}

/* Consistent colors for all content inside modals */
.modal .media-item,
.modal .track-info,
.modal .image-info,
.modal .video-info,
.modal .media-list-container,
.modal .playlist-container,
.modal .image-display,
.modal .video-display {
    background: #1a1a1a !important;
    border: 1px solid #333 !important;
}

/* Remove any window-specific background variations */
.modal:nth-child(n) .modal-content {
    background: #2a2a2a !important;
    border-color: #555 !important;
} 