/* Form-specific styling for GigFinder Ireland submissions */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    min-height: 100vh;
}

.nav-bar {
    padding: 15px 0;
    border-bottom: 2px solid #ff6b35;
    margin-bottom: 30px;
}

.nav-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #ff6b35;
}

.gig-form {
    background: #2a2a3e;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.form-section {
    border: 2px solid #3a3a5e;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    background: linear-gradient(145deg, #2a2a3e, #1e1e2e);
}

.form-section legend {
    color: #ff6b35;
    font-weight: bold;
    font-size: 1.2em;
    padding: 0 10px;
    background: #2a2a3e;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    color: #ff6b35;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #444;
    border-radius: 6px;
    background-color: #1a1a2e;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-weight: normal;
    cursor: pointer;
}

.pricing-section {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 6px;
    border-left: 4px solid #ff6b35;
}

.pricing-section.hidden {
    display: none;
}

.error-message {
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #ff6b35;
    color: white;
}

.btn-secondary {
    background: #666;
    color: white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background: #2a2a3e;
    margin: 15% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    border: 2px solid #ff6b35;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
/* Remove loading appearance from form inputs */
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #444;
    border-radius: 6px;
    background-color: #1a1a2e;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    background-image: none; /* Remove any background loading icons */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
    background-color: #1a1a2e; /* Ensure solid background */
}

/* Form hint styling */
.form-hint {
    color: #888;
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}
/* Event type sections */
.event-type-section {
    transition: all 0.3s ease;
}

.event-type-section.hidden {
    display: none;
}

.form-hint {
    display: block;
    font-size: 0.85em;
    color: #888;
    margin-top: 4px;
    font-style: italic;
}

/* Radio group styling */
.radio-group label {
    display: block;
    margin: 10px 0;
    padding: 12px;
    border: 2px solid #333;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2a2a2a;
}

.radio-group label:hover {
    border-color: #ff6b35;
    background: #333;
}

.radio-group input[type="radio"]:checked + * {
    color: #ff6b35;
}

.radio-group label:has(input[type="radio"]:checked) {
    border-color: #ff6b35;
    background: #333;
}

/* Textarea styling */
textarea {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
}

textarea:focus {
    border-color: #ff6b35;
    outline: none;
}
.hidden {
    display: none !important;
}
/* Form section spacing */
.form-section {
    margin-bottom: 2rem;
}

/* Your Details section specific spacing */
fieldset[class*="form-section"]:last-of-type,
.form-section:last-of-type {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

/* Ticket pricing section spacing */
.form-section:has(input[id*="price"]) {
    margin-bottom: 2.5rem;
}

/* Alternative if the above doesn't work */
fieldset {
    margin-bottom: 2rem;
}

/* Extra spacing between major sections */
h2 + .form-section,
.form-section + .form-section {
    margin-top: 1.5rem;
}
/* Ensure all form sections have consistent width and padding */

/* Make sure the container has consistent styling
/* Clean uniform spacing fix */
.form-section {
    margin-bottom: 2rem;
    /* Keep all original padding and styling intact */
}

/* Extra space before "Your Details" section */
.form-section:last-of-type {
    margin-top: 2.5rem;
}

/* Ensure consistent container width without affecting padding */
.gig-form .form-section {
    width: 100%;
    box-sizing: border-box;
    /* Padding stays as defined in original .form-section rule (20px) */
}
/* Event type tags styling */
.event-type-tags {
    margin-top: 1rem;
}

.tag-set {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-set.hidden {
    display: none;
}

.event-tag {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    color: white;
}

.event-tag.international {
    background: #ff6b35;
}

.event-tag.indoor {
    background: #4a90e2;
}

.event-tag.outdoor {
    background: #7ed321;
}

.event-tag.supporting {
    background: #9013fe;
}
.form-section {
    width: 100% !important;
    box-sizing: border-box;
}
.modal-content {
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Checkbox label (e.g. "No support act") */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #ff6b35;
    cursor: pointer;
}

/* Band autocomplete dropdown */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: #1a1a2e;
    border: 2px solid #ff6b35;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.autocomplete-item {
    padding: 10px 15px;
    cursor: pointer;
    color: #fff;
    border-bottom: 1px solid #2a2a3e;
    transition: background 0.2s ease;
}

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

.autocomplete-item:hover,
.autocomplete-item.active {
    background: rgba(255, 107, 53, 0.2);
}

.autocomplete-item.new-band {
    color: #ff6b35;
    font-style: italic;
}

/* Flatpickr static positioning — calendar opens directly below the field */
.flatpickr-wrapper {
    position: relative;
    display: block;
}
.flatpickr-calendar.static {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
}
