/* Form design */
/* Base form styling */
#story-adventure-form {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 25px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-family: Arial, sans-serif;
}

/* Each field block */
#story-adventure-form .form-field {
    margin-bottom: 18px;
}

/* Labels */
#story-adventure-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
    color: #333;
}

/* Text inputs, select, textarea */
#story-adventure-form input[type="text"],
#story-adventure-form input[type="url"],
#story-adventure-form input[type="file"],
#story-adventure-form select,
#story-adventure-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

#story-adventure-form input:focus,
#story-adventure-form select:focus,
#story-adventure-form textarea:focus {
    border-color: #0073aa;
}

/* Textarea */
#story-adventure-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Upload button */
#story-adventure-form .custom-upload-button {
    background-color: #0073aa;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#story-adventure-form .custom-upload-button:hover {
    background-color: #005f87;
}

/* Image preview thumbnails */
#story-adventure-form .file-upload-preview img {
    border-radius: 6px;
    border: 1px solid #ddd;
}

/* Submit button */
#story-adventure-form button[type="submit"] {
    background-color: #28a745;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#story-adventure-form button[type="submit"]:hover {
    background-color: #218838;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    #story-adventure-form {
        padding: 15px;
    }
}


.custom-upload-button {
    padding: 8px 15px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.custom-upload-button:hover {
    background-color: #005177;
}
.file-upload-preview img {
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

