/* General spacing between form controls */
/* #counselling-form-plug .form-control,
#counselling-form-plug .form-checkbox {
    margin-bottom: 1.75rem;
} */

/* Input, select and textarea styling */
#counselling-form-plug input,
#counselling-form-plug select,
#counselling-form-plug textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    /* border: 1px solid #ccc; */
    /* border-radius: 4px; */
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

/* Field labels */
#counselling-form-plug label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
}
#counselling-form-plug .pripo-lab {
    padding-left: 45px;
}

/* Required asterisk */
#counselling-form-plug .requiredIndicator {
    color: red;
    margin-left: 3px;
}

/* Validation error styling */
#counselling-form-plug .field-error {
    border-color: red !important;
    /* background-color: #ffe6e6; */
    outline: none;
}

#counselling-form-plug .field-error::placeholder {
    color: red;
}

/* Error message styling */
#counselling-form-plug .error-message {
    position: absolute;
    color: red;
    font-size: 13px;
    margin-top: 4px;
}

/* Checkbox area styling */
#counselling-form-plug .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: none; /* ✅ Remove border */
    box-shadow: none; /* Optional: remove any outline or shadow */
    padding: 0;       /* Optional: remove any padding */
    margin-bottom: 1.25rem; /* Keep spacing if needed */
}


/* Button styling */


/* ----- Dialing code + phone input styling ----- */

/* Flex container for select + phone input */
#counselling-form-plug .select-dropdown {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

/* Dialing code dropdown */
#counselling-form-plug .dialing-code-select {
    flex: 0 0 150px; /* Adjust width as needed */
    max-width: 0;
    min-width: 100px;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    /* border: 1px solid #ccc; */
    /* border-radius: 4px; */
    box-sizing: border-box;
    background-color: #fff;
    appearance: none;
}

/* Phone number input group */
#counselling-form-plug .input-group.telefon {
    flex: 1;
    min-width: 0;
}

/* Phone input field */
#counselling-form-plug .input-group.telefon input {
    width: 100%;
    padding: 0.5rem 0.75rem 0.5rem 8rem;
    /* border: 1px solid #ccc; */
    /* border-radius: 4px; */
    font-size: 1rem;
    box-sizing: border-box;
}

/* Responsive fix for smaller screens */
@media (max-width: 576px) {
    #counselling-form-plug .select-dropdown {
        flex-direction: column;
        align-items: stretch;
    }

    #counselling-form-plug .dialing-code-select {
        width: 100%;
    }
}

/* Add spacing between each field nicely */
#counselling-form-plug .form-group {
    margin-bottom: 1.25rem;
}

/* Simple CSS spinner */
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 0.8s linear infinite;
    margin: 10px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}