/* MijnBNA Registratie Shortcode Styles */

.registratie-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Form Page Headers */
.form-page__form {
    margin-bottom: 2rem;
}

.form__step-header {
    margin-bottom: 2rem;
}

.form-page__heading {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.step-number {
    display: block;
    font-size: 1.2rem;
    color: #7D6969;
    margin-bottom: 0.5rem;
}

.step-name {
    color: #2D2337;
}


/* Form Container */
.form__step-container {
    position: relative;
    background: #fff;
    margin-bottom: 2rem;
}

.form__required-legend {
    display: block;
    font-size: 1rem;
    margin-bottom: 1em;
}

.form__required-asterisk {
    color: #e74c3c;
    margin-left: 5px;
}

/* Form Fields */
.form__field-container {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.form__input-container {
    position: relative;
}

.form__input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form__input:focus {
    outline: none;
    border-color: #D7E1E6 !important;
}

/* Form Duos (two fields side by side) */
.form__duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Form Duos (two fields side by side) */
#stepOne .form__duo {
    margin-bottom: 0rem;
}

#stepOne .form__duo .form__field-container {
	margin-bottom: 0rem;
}

@media (max-width: 768px) {
    .form__duo {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Validation Errors */
.form__validation-errors {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: #fdf2f2;
    border-left: 4px solid #e74c3c;
}

/* Step-specific styling */
.form__step {
    min-height: 400px;
}

.form__step[style*="display:none"] {
    display: none !important;
}

/* Password toggle */
.form__password-messages {
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.form__link {
    color: #1a5f7a;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

.form__link:hover {
    color: #0f3a4a;
}

/* Bureau Search */
.bureau-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
}

.bureau-result-item {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.bureau-result-item:hover {
    background-color: #f8f9fa;
}

.bureau-result-item:last-child {
    border-bottom: none;
}

.bureau-result-item.add-new {
    background-color: #e8f5e8;
    color: #2d7a2d;
    font-weight: 600;
}

/* Company Details */
.register-form__add-new-company {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.register-form__company-details {
    margin-top: 1rem;
}

/* Radio Buttons */
.form__radio-button-container {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.form__radio-button-container input[type="radio"] {
    margin-right: 0.5rem;
}

.form__radio-button-container label {
    font-weight: normal;
    cursor: pointer;
}

/* Branch Office Warning */
.register-form__branch-office-warning {
    padding: 1rem;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    font-size: 0.95rem;
}

.register-form__branch-office-warning a {
    color: #1a5f7a;
    text-decoration: underline;
}

/* Checkboxes */
.register-form__checkbox-container {
    margin: 2rem 0;
}

.form__checkbox-field {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form__checkbox-field input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.form__checkbox-field label {
    font-weight: normal;
    cursor: pointer;
    line-height: 1.4;
}

/* Buttons */
.form__buttons-container {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    border-top: 0px solid #e0e0e0;
}

@media (max-width: 768px) {
    .form__buttons-container {
        flex-direction: column;
    }
}

.nectar-button {
    padding: 12px 24px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 160px;
    justify-content: center;
}

.nectar-button.regular-button {
    background-color: #1a5f7a;
    color: white;
}

.nectar-button.regular-button:hover {
    background-color: #0f3a4a;
}

.nectar-button.is-hollow {
    background-color: transparent;
    color: #1a5f7a;
    border: 2px solid #1a5f7a;
}

.nectar-button.is-hollow:hover {
    background-color: #1a5f7a;
    color: white;
}

.nectar-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Icons in buttons */
.nectar-button i {
    font-size: 0.9rem;
}

/* Footer */

/* Messages */
.bna-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.bna-message.bna-success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.bna-message.bna-error {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

/* Loading state */
.form__step.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Transitions */
.form__step {
    transition: opacity 0.3s ease;
}

/* Verification notice styling */
.verification-notice .email-icon {
    display: none !important;
}

/* Additional BNA message styles */
.bna-message.bna-info {
    background-color: #e8f4fd;
    border-color: #1a5f7a;
    color: #1a5f7a;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .registratie-wrapper {
        padding: 15px;
    }
    
    .form__step-container {
        padding: 1.5rem;
    }
    
    .form-page__heading {
        font-size: 1.5rem;
    }
    
    .form__required-legend {
        position: static;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .verification-notice {
        padding: 1rem;
        margin: 1rem 0;
    }
} 