/* Dark Mode Container Styling */
#suno-container {
    background: #1e1e1e !important; /* Dunkler Hintergrund */
    border: 1px solid #333333 !important;
    padding: 25px !important;
    border-radius: 12px !important;
    max-width: 600px !important;
    margin: 20px 0 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    color: #e0e0e0 !important; /* Helle Textfarbe */
}

/* Header & Text */
.suno-header h3 { 
    margin: 0 !important; 
    color: #ffffff !important; 
    font-size: 1.5em !important;
}

.suno-credits { 
    font-size: 0.9em !important; 
    background: #2d2d2d !important; 
    padding: 4px 12px !important; 
    border-radius: 20px !important; 
    color: #818cf8 !important; /* Helles Blau/Lila */
    font-weight: 600 !important; 
    border: 1px solid #444 !important;
}

/* Formular Elemente */
.suno-mode-toggle { 
    margin-bottom: 20px !important; 
    display: flex !important; 
    gap: 15px !important; 
    color: #cccccc !important;
}

.suno-mode-toggle label { 
    cursor: pointer !important; 
    font-weight: 500 !important; 
    color: #cccccc !important;
}

#suno-prompt, #suno-lyrics, #suno-title, #suno-style, #suno-persona {
    width: 100% !important; 
    margin-bottom: 15px !important; 
    padding: 12px !important;
    border: 1px solid #444444 !important; 
    border-radius: 8px !important; 
    box-sizing: border-box !important; 
    background: #2d2d2d !important; /* Dunkle Eingabefelder */
    color: #ffffff !important; /* Weißer Text in Feldern */
    font-size: 14px !important;
}

#suno-prompt::placeholder, #suno-lyrics::placeholder, #suno-title::placeholder, #suno-style::placeholder, #suno-persona::placeholder {
    color: #777777 !important;
}

#suno-prompt:focus, #suno-lyrics:focus, #suno-title:focus, #suno-style:focus, #suno-persona:focus {
    border-color: #4f46e5 !important;
    outline: none !important;
}

/* Optionen */
.suno-options { 
    margin-bottom: 20px !important; 
    display: flex !important; 
    justify-content: space-between !important; 
    align-items: center !important; 
    color: #cccccc !important;
}

.suno-options label {
    color: #cccccc !important;
    font-weight: 500 !important;
}

#suno-model { 
    padding: 8px !important; 
    border-radius: 6px !important; 
    border: 1px solid #444444 !important; 
    background: #2d2d2d !important;
    color: #ffffff !important;
}

/* Button */
#suno-generate-btn {
    background: #4f46e5 !important; 
    color: #ffffff !important; 
    border: none !important; 
    padding: 14px !important;
    border-radius: 8px !important; 
    cursor: pointer !important; 
    width: 100% !important; 
    font-weight: 600 !important; 
    font-size: 1.1em !important;
    transition: all 0.2s !important;
}

#suno-generate-btn:hover { 
    background: #6366f1 !important; 
    transform: translateY(-1px) !important;
}

#suno-generate-btn:disabled { 
    background: #333333 !important; 
    color: #777777 !important;
    cursor: not-allowed !important;
}

/* Loader & Status */
.suno-loader {
    border: 4px solid #333333 !important; 
    border-top: 4px solid #818cf8 !important; 
    border-radius: 50% !important;
    width: 40px !important; 
    height: 40px !important; 
    animation: spin 1s linear infinite !important; 
    margin: 20px auto !important;
}

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

#suno-status-text { 
    text-align: center !important; 
    color: #9ca3af !important; 
    font-weight: 600 !important; 
}

/* Resultate */
.suno-track {
    background: #2d2d2d !important; 
    padding: 15px !important; 
    border-radius: 8px !important; 
    margin-bottom: 15px !important; 
    border: 1px solid #444444 !important;
    color: #ffffff !important;
}

.suno-track h5 { 
    margin: 0 0 10px 0 !important; 
    color: #ffffff !important; 
    font-weight: 600 !important;
}

.suno-track audio { 
    width: 100% !important; 
    margin-bottom: 10px !important; 
    filter: invert(1) hue-rotate(180deg) !important; /* Audio Player Farben invertieren für Dark Mode */
}

.button {
    display: inline-block !important; 
    padding: 8px 16px !important; 
    background: #4f46e5 !important; 
    color: #ffffff !important;
    text-decoration: none !important; 
    border-radius: 6px !important; 
    font-size: 0.9em !important;
    font-weight: 500 !important;
}

.button:hover {
    background: #6366f1 !important;
}

/* Hinweise */
.suno-notice { 
    background: #2d2613 !important; 
    border: 1px solid #4d3d1a !important; 
    color: #fbbf24 !important; 
    padding: 15px !important; 
    border-radius: 8px !important; 
}

.suno-notice p, .suno-notice a {
    color: #fbbf24 !important;
    margin: 0 !important;
}

#suno-reset-btn {
    background: transparent !important; 
    border: 1px solid #444444 !important; 
    padding: 10px 20px !important;
    border-radius: 6px !important; 
    cursor: pointer !important; 
    display: block !important; 
    margin: 20px auto 0 !important; 
    color: #9ca3af !important;
    font-weight: 500 !important;
}

#suno-reset-btn:hover {
    background: #2d2d2d !important;
    color: #ffffff !important;
}
