/**
 * Song Request System - Proof of Concept Styling
 */

/* Main Container */
#song-request-container {
    max-width: 480px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.5;
}

/* Form Card */
#srd-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Labels */
#srd-form label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a202c;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Text Inputs and Textareas */
#srd-form input[type="text"],
#srd-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 16px;
    transition: border-color 0.2s;
}

#srd-form input[type="text"]:focus,
#srd-form textarea:focus {
    outline: none;
    border-color: #5865F2;
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
}

/* Fix for disappearing white text in dropdown */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1a202c !important; /* Dark slate color */
    line-height: 28px !important;
}

/* Fix for the text inside the search input box when open */
.select2-container--open .select2-dropdown .select2-search__field {
    color: #1a202c !important;
    background-color: #ffffff !important;
}

/* Fix for the list items in the dropdown results */
.select2-results__option {
    color: #1a202c !important;
}

/* Style for the currently highlighted/hovered item */
.select2-results__option--highlighted {
    color: #ffffff !important; /* Keep this white for contrast against the blue background */
    background-color: #5865F2 !important;
}

/* Select2 Customization (The Search Box) */
.select2-container--default .select2-selection--single {
    height: 45px !important;
    padding: 8px !important;
    border: 1px solid #cbd5e0 !important;
    border-radius: 6px !important;
}

.select2-container {
    margin-bottom: 20px;
}

/* Cloudflare Turnstile Positioning */
.cf-turnstile {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

/* Submit Button - Discord Blurple */
#srd-form input[type="submit"] {
    width: 100%;
    background-color: #4DABFF;
    color: #1A202C;
    font-size: 16px;
    font-weight: 600;
    padding: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    text-transform: uppercase;
}

#srd-form input[type="submit"]:hover {
    background-color: #4752c4;
}

#srd-form input[type="submit"]:active {
    transform: scale(0.98);
}

/* Status Messages */
.srd-success {
    background-color: #f0fff4;
    border: 1px solid #c6f6d5;
    color: #22543d;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 500;
}

.srd-error {
    background-color: #fff5f5;
    border: 1px solid #fed7d7;
    color: #822727;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 500;
}

/* Closed message */

.srd-closed-message {
    max-width: 450px;
    margin: 20px auto;
    padding: 40px;
    background: #f8f9fa;
    border: 2px dashed #cbd5e0;
    border-radius: 12px;
    text-align: center;
    color: #4a5568;
}