/* ============================================================
   Allu Registration — Front-end Form Styles
   ============================================================ */

/* Make cursor visible on dark background */
* { caret-color: #ffffff !important; }

.allu-form-wrapper {
    max-width: 760px;
    margin: 0 auto;
	padding: 0 0px; 
    font-family: Arial, sans-serif;
    color: #f0f0f0 !important;
    cursor: default;
}

/* Form heading */
.allu-form-wrapper .allu-form-heading {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 32px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    line-height: 1.2 !important;
}

/* Section title */
.allu-form-wrapper .allu-section-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 32px 0 16px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #333333 !important;
    border-top: none !important;
    background: none !important;
}

/* Field rows */
.allu-form-wrapper .allu-field-row {
    display: flex !important;
    gap: 16px !important;
    margin-bottom: 20px !important;
}

.allu-form-wrapper .allu-field {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
}

.allu-form-wrapper .allu-field-full  { flex: 1 1 100% !important; }
.allu-form-wrapper .allu-field-half  { flex: 1 1 calc(50% - 8px) !important; }

/* Labels */
.allu-form-wrapper .allu-field label,
.allu-form-wrapper .allu-field > label {
    display: block !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #cccccc !important;
    margin-bottom: 8px !important;
    background: none !important;
}

.allu-form-wrapper .allu-field label .required {
    color: #ff4d4d !important;
    margin-left: 2px !important;
}

/* Inputs */
.allu-form-wrapper .allu-field input[type="text"],
.allu-form-wrapper .allu-field input[type="email"],
.allu-form-wrapper .allu-field input[type="tel"] {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 11px 14px !important;
    font-size: 15px !important;
    font-family: Arial, sans-serif !important;
    background-color: #111111 !important;
    color: #f0f0f0 !important;
    border: 1px solid #444444 !important;
    border-radius: 2px !important;
    outline: none !important;
    box-shadow: none !important;
    transition: border-color 0.15s;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
}

/* Override browser autofill yellow/blue tint */
.allu-form-wrapper .allu-field input:-webkit-autofill,
.allu-form-wrapper .allu-field input:-webkit-autofill:hover,
.allu-form-wrapper .allu-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #111111 inset !important;
    -webkit-text-fill-color: #f0f0f0 !important;
    border: 1px solid #444444 !important;
    transition: background-color 5000s ease-in-out 0s;
}

.allu-form-wrapper .allu-field input[type="text"]:focus,
.allu-form-wrapper .allu-field input[type="email"]:focus,
.allu-form-wrapper .allu-field input[type="tel"]:focus {
    border-color: #888888 !important;
}

/* Select */
.allu-form-wrapper .allu-field select {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 11px 36px 11px 14px !important;
    font-size: 15px !important;
    font-family: Arial, sans-serif !important;
    background-color: #111111 !important;
    color: #f0f0f0 !important;
    border: 1px solid #444444 !important;
    border-radius: 2px !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
    /* Custom arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaaaaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
}

.allu-form-wrapper .allu-field select:focus {
    border-color: #888888 !important;
}

/* Select option text (limited browser support, but helps Firefox) */
.allu-form-wrapper .allu-field select option {
    background-color: #111111;
    color: #f0f0f0;
}

/* Checkbox row */
.allu-form-wrapper .allu-field-checkbox {
    margin: 8px 0 20px !important;
}

.allu-form-wrapper .allu-checkbox-label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 14px !important;
    color: #cccccc !important;
    cursor: pointer !important;
    background: none !important;
}

.allu-form-wrapper .allu-checkbox-label input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    accent-color: #ffffff !important;
    margin: 0 !important;
}

.allu-form-wrapper .allu-checkbox-label a {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Submit button */
.allu-form-wrapper .allu-form-submit {
    margin-top: 8px !important;
}

.allu-form-wrapper .allu-btn-submit {
    background-color: #ffffff !important;
    color: #000000 !important;
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 14px 36px !important;
    border: none !important;
    border-radius: 2px !important;
    cursor: pointer !important;
    transition: background-color 0.15s, color 0.15s;
    display: inline-block !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
}

.allu-form-wrapper .allu-btn-submit:hover {
    background-color: #dddddd !important;
}

.allu-form-wrapper .allu-btn-submit:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
}

/* Success / error messages */
.allu-form-wrapper .allu-form-message {
    padding: 14px 18px !important;
    border-radius: 2px !important;
    font-size: 15px !important;
    margin-bottom: 24px !important;
    display: block;
}

.allu-form-wrapper .allu-form-message.allu-success {
    background-color: #0f2d0f !important;
    border: 1px solid #2d6a2d !important;
    color: #a8e6a8 !important;
}

.allu-form-wrapper .allu-form-message.allu-error {
    background-color: #2d0f0f !important;
    border: 1px solid #6a2d2d !important;
    color: #e6a8a8 !important;
}

/* Responsive */
@media (max-width: 600px) {
    .allu-form-wrapper .allu-field-row {
        flex-direction: column !important;
        gap: 0 !important;
    }
    .allu-form-wrapper .allu-field-half {
        flex: 1 1 100% !important;
    }
}