/* .signup-page-body {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: #E3E3E3;
    font-family: 'manrope', sans-serif;
    text-transform: normal;
} */

.containersignup {
    background-color: #fff;
    padding:1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 60%;;
}



/* General Form Row Styling */
.signup-form-row {
    display: flex;            /* Use flexbox for alignment */
    flex-wrap: wrap;          /* Allow wrapping when needed */
    gap: 1rem;                /* Maintain spacing between columns */
    margin-bottom: 1.5rem;    /* Space between rows */
    width: 100%;              /* Row spans full width */
    box-sizing: border-box;   /* Include padding/borders in width */
}

/* Specific override for the "Dealership Name" row */
.signup-form-row.dealership-name-row {
    display: grid;                  /* Use grid layout for this row */
    grid-template-columns: 1fr;    /* Single column spanning the full width */
    gap: 0;                         /* Remove spacing for this specific row */
}

/* General Column Styling */
.signup-form-column {
    flex: 1;                  /* Default: allow sharing of space */
    display: flex;
    flex-direction: column;
}

/* Full-Width Column */
.signup-form-column.full-width {
    width: 100%;              /* Ensure it spans the full width */
    grid-column: 1 / -1;      /* Ensure it spans all columns in grid rows */
    flex: none;               /* Disable flex-based resizing */
}

/* Container Styling */
.container-registration {
    max-width: 800px;         /* Optional: Constrain form width */
    width: 100%;              /* Ensure container spans parent */
    margin: 0 auto;           /* Center the form horizontally */
    padding: 2rem;            /* Add padding inside the container */
    box-sizing: border-box;   /* Include padding/borders in width */
}

/* Input and Select Styling */
input,
select {
    width: 100%;              /* Ensure inputs span full width */
    padding: 0.5rem;          /* Add padding for aesthetics */
    border: 1px solid #ccc;   /* Standard border */
    border-radius: 4px;       /* Rounded corners */
    box-sizing: border-box;   /* Include padding/borders in width */
    background-color: #f0f8ff; /* Pale blue background */
}

/* Right Column */
.right-column {
    width: 100%;              /* Allow full-width content */
    box-sizing: border-box;   /* Include padding in width */
}

/* Button Styling */
button {
    margin-top: 2rem;
    padding: 0.75rem 1rem;
    background-color: #4caf50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

/* Select2 Container */
.select2-container {
    max-width: 100%;
    width: 100% !important;
}

/* Select2 Selection Box - Make it look like other form fields */
.select2-container .select2-selection--multiple {
    width: 100%;
    padding: 0.3rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #f0f8ff;
    min-height: 38px;
    display: flex;
    align-items: center;
}

/* Select2 Selection Box for single select */
.select2-container .select2-selection--single {
    width: 100%;
    padding: 0.3rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #f0f8ff;
    height: 38px;
    display: flex;
    align-items: center;
}

/* Select2 Selection Rendered */
.select2-container .select2-selection__rendered {
    padding: 0;
    margin: 0;
    line-height: normal;
}

/* Select2 Selection Choice (selected items) */
.select2-container .select2-selection__choice {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 2px 8px;
    margin: 2px 4px 2px 0;
    font-size: 0.875em;
}

/* Select2 Selection Choice Remove Button */
.select2-container .select2-selection__choice__remove {
    color: white;
    margin-right: 5px;
    font-weight: bold;
}

.select2-container .select2-selection__choice__remove:hover {
    color: #ffcccb;
}

/* Select2 Dropdown */
.select2-dropdown {
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Select2 Search Box */
.select2-search--dropdown .select2-search__field {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0.5rem;
    background-color: #f0f8ff;
}

/* Select2 Options */
.select2-results__option {
    padding: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.select2-results__option--highlighted[aria-selected] {
    background-color: #007bff;
    color: white;
}

/* Select2 Arrow */
.select2-container .select2-selection--single .select2-selection__arrow {
    height: 36px;
    right: 8px;
}

.select2-container .select2-selection--multiple .select2-selection__arrow {
    display: none;
}

/* Focus states to match other form fields */
.select2-container--focus .select2-selection--multiple,
.select2-container--focus .select2-selection--single,
.select2-container.select2-container--focus .select2-selection--multiple,
.select2-container.select2-container--focus .select2-selection--single {
    border-color: #007bff !important;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.25) !important;
    outline: none !important;
}

/* Additional focus state for when dropdown is open */
.select2-container--open .select2-selection--multiple,
.select2-container--open .select2-selection--single {
    border-color: #007bff !important;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.25) !important;
    outline: none !important;
}

/* Override any Select2 default focus styles */
.select2-container.select2-container--focus .select2-selection--multiple,
.select2-container.select2-container--focus .select2-selection--single,
.select2-container.select2-container--open .select2-selection--multiple,
.select2-container.select2-container--open .select2-selection--single {
    border-color: #007bff !important;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.25) !important;
    outline: none !important;
}

/* Ensure default state matches other form fields */
.select2-container .select2-selection--multiple,
.select2-container .select2-selection--single {
    border-color: #ccc !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Error Messages */
.error-message {
    color: red;
    font-size: 0.875em;
    margin-top: 0.25rem;
}

.logo-signup img {
    max-width: 100%;
    width: 175px;
    margin-bottom: 0.75rem;
}

/* ==================================================
  MEDIA QUERY: Mobile
================================================== */

/* @media (max-width: 576px) {

    .left-column {
        display: none;
    }

    .right-column {
        width: 100%;      
        padding: 1rem;    
    }

    .signup-form-row {
        flex-direction: column; 
        gap: 0.5rem;          
        margin-bottom: 1rem;  
    }

    .dealership-name-row {
        grid-template-columns: 1fr; 
    }

    .signup-form-column {
        width: 100%;         
        margin-bottom: 1rem; 
    }

    button {
        width: 100%;        
        margin-top: 1rem;    
    }

    .hd-login {
        font-size: 1.5rem;  
        text-align: center;  
        margin-bottom: 1rem; 
    }

    .sbh-login {
        font-size: 1rem;    
        text-align: center; 
    }

    .logo img {
        max-width: 100%;     
        height: auto;        
        margin: 0 auto;      
    }

    input,
    select {
        font-size: 1rem;     
        padding: 0.5rem;      
    }

    .container-registration {
        width: 100%;
        max-width: 100%;    
        padding: 1rem;       
    }
} */
