/**
 * Stall Application Form Styles
 */

.stall-application-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.stall-app-intro {
    text-align: center;
    margin-bottom: 30px;
}

.stall-app-intro h2 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 32px;
}

.stall-app-intro p {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
}

.stall-app-intro p strong {
    color: #ffa646;
}

/* Form Sections */
.form-section {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.form-section h3 {
    color: #c41e3a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group label small {
    font-weight: normal;
    color: #888;
}

.required {
    color: #c41e3a;
}

/* Form Controls */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #c41e3a;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    appearance: none;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") no-repeat right 12px center;
    background-size: 16px 12px;
    padding-right: 40px;
}

/* Form Row (Two Columns) */
.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-group.half {
    flex: 1;
    min-width: 200px;
}

/* Checkboxes */
.checkbox-group {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #c41e3a;
}

/* Insurance Notice */
.insurance-notice {
    background: #fff8e5;
    border-left: 4px solid #dba617;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 5px 5px 0;
}

.insurance-notice p {
    margin: 0;
    color: #666;
}

/* Submit Button */
.form-submit {
    text-align: center;
    margin-top: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: #c41e3a;
    color: #fff;
}

.btn-primary:hover {
    background: #a01830;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.btn-lg {
    padding: 15px 50px;
    font-size: 18px;
}

/* Success Message */
.stall-app-success {
    text-align: center;
    padding: 40px;
    background: #d4edda;
    border-radius: 10px;
    border: 1px solid #c3e6cb;
}

.stall-app-success h3 {
    color: #155724;
    margin-bottom: 15px;
}

.stall-app-success p {
    color: #155724;
    margin-bottom: 10px;
}

/* Error Messages */
.stall-app-errors {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.stall-app-errors strong {
    color: #721c24;
    display: block;
    margin-bottom: 10px;
}

.stall-app-errors ul {
    margin: 0;
    padding-left: 20px;
    color: #721c24;
}

.stall-app-errors li {
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 600px) {
    .stall-application-form-wrapper {
        padding: 10px;
    }

    .form-section {
        padding: 20px 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-group.half {
        min-width: 100%;
    }

    .checkbox-group {
        flex-direction: column;
        gap: 15px;
    }

    .btn-lg {
        width: 100%;
        padding: 15px 30px;
    }
}
