/* Simple Music Upload - Upload Form Styles */
.smu-upload-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.smu-upload-header {
    text-align: center;
    margin-bottom: 30px;
}

.smu-upload-header h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.smu-upload-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.smu-drop-zone {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #fafafa;
}

.smu-drop-zone:hover {
    border-color: #007cba;
    background: #f0f7ff;
}

.smu-drop-zone.dragover {
    border-color: #007cba;
    background: #e6f3ff;
    transform: scale(1.02);
}

.smu-drop-content {
    position: relative;
}

.smu-drop-content h4,
.smu-drop-content p {
    pointer-events: none;
}

.smu-browse-btn {
    position: relative;
    z-index: 1;
}

.smu-upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.smu-drop-zone h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

.smu-drop-zone p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.smu-browse-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    pointer-events: all;
}

.smu-browse-btn:hover {
    background: #005a87;
}

.smu-file-info {
    margin-top: 20px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.smu-file-details h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.smu-file-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.smu-files-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.smu-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 8px;
}

.smu-file-item:last-child {
    margin-bottom: 0;
}

.smu-file-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.smu-file-item-name {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    word-break: break-all;
}

.smu-file-item-size {
    color: #666;
    font-size: 12px;
}

.smu-remove-file-btn {
    background: #dc3545;
    color: white;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.smu-remove-file-btn:hover {
    background: #c82333;
}

.smu-total-files,
.smu-total-size {
    font-size: 14px;
    color: #666;
}

.smu-total-files {
    font-weight: 500;
}

.smu-clear-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.smu-clear-btn:hover {
    background: #5a6268;
}

.smu-file-name {
    font-weight: 500;
    color: #333;
    word-break: break-all;
}

.smu-file-size {
    color: #666;
    font-size: 14px;
}

.smu-file-comments {
    margin-bottom: 20px;
}

.smu-file-comments label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.smu-file-comments textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
}

.smu-file-comments textarea:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.smu-upload-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.smu-remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.smu-remove-btn:hover {
    background: #c82333;
}

.smu-upload-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.smu-upload-btn:hover:not(:disabled) {
    background: #218838;
}

.smu-upload-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.smu-progress-container {
    margin-top: 20px;
    padding: 20px;
    background: #f0f0f0;
    border-radius: 6px;
    text-align: center;
}

.smu-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.smu-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007cba, #005a87);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.smu-progress-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.smu-result-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

.smu-result-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.smu-result-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.smu-no-permission {
    text-align: center;
    padding: 40px 20px;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    font-size: 16px;
}

.smu-recent-uploads {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.smu-recent-uploads h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.smu-recent-list {
    max-height: 200px;
    overflow-y: auto;
}

.smu-recent-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.smu-recent-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

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

.smu-recent-item:hover {
    background: #f8f9fa;
}

.smu-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.smu-item-name {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    word-break: break-all;
}

.smu-item-meta {
    font-size: 12px;
    color: #666;
}

.smu-item-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.smu-download-link {
    color: #007cba;
    text-decoration: none;
    font-size: 12px;
    padding: 4px 8px;
    border: 1px solid #007cba;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.smu-download-link:hover {
    background: #007cba;
    color: white;
}

.smu-delete-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.2s ease;
}

.smu-delete-btn:hover {
    background: #c82333;
}

.smu-no-uploads {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
    font-size: 14px;
}

.smu-custom-title {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

.smu-custom-description {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

.smu-version-info {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.smu-version-info small {
    color: #999;
    font-size: 11px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .smu-upload-container {
        margin: 0 10px;
        padding: 15px;
    }
    
    .smu-drop-zone {
        padding: 30px 15px;
    }
    
    .smu-upload-actions {
        flex-direction: column;
    }
    
    .smu-recent-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .smu-item-actions {
        align-self: stretch;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .smu-upload-icon {
        font-size: 36px;
    }
    
    .smu-drop-zone h4 {
        font-size: 16px;
    }
    
    .smu-upload-header h3 {
        font-size: 20px;
    }
}