/* Premium Floating Inputs Overrides */
.form-floating>.form-control,
.form-floating>.form-select {
    height: 60px;
    line-height: 1.25;
    border-radius: 12px;
    background-color: #f7f9fc !important;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.form-floating>.form-control:focus,
.form-floating>.form-select:focus {
    background-color: #fff !important;
    border-color: #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-floating>label {
    color: #6c757d;
    padding-top: 1rem;
}

/* Input Group styling for Phone */
.input-group.bg-light {
    background-color: #f7f9fc !important;
    border-radius: 12px !important;
    /* Remove overflow-hidden to allow Select2 dropdown to show */
    overflow: visible !important;
}

/* Ensure the first and last elements in the group round their corners since the group no longer clips */
.input-group.bg-light> :first-child,
.input-group.bg-light> :first-child .form-select,
.input-group.bg-light> :first-child .input-group-text {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.input-group.bg-light> :last-child,
.input-group.bg-light> :last-child .form-control {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.input-group:focus-within {
    background-color: #fff !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Phone code Select2 customization */
.phone-code-wrapper {
    position: relative;
    z-index: 1050;
    /* Ensure it floats above subsequent fields if needed */
}

.phone-code-wrapper .select2-container--default .select2-selection--single {
    background-color: transparent !important;
    border: none !important;
    height: 60px !important;
    display: flex;
    align-items: center;
}

.phone-code-wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    color: #000;
    font-weight: 600;
    padding-left: 10px;
}

.phone-code-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}

/* Checkbox & Radio Styling */
.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.15em;
    border-color: #dee2e6;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #000;
    border-color: #000;
}

/* Button Hover Effect */
.hover-up {
    transition: transform 0.2s;
}

.hover-up:hover {
    transform: translateY(-2px);
}

/* Hide standard select2 for this page to use native/bootstrap floating select */
.select2-container {
    display: none;
    /* Default hide */
}

/* Only show select2 inside our wrapper */
.phone-code-wrapper .select2-container {
    display: block !important;
}

/* Password Strength Meter */
.password-strength-meter {
    height: 4px;
    background-color: #e9ecef;
    border-radius: 2px;
    margin-top: 5px;
    overflow: hidden;
    position: relative;
}

.password-strength-meter .strength-bar {
    height: 100%;
    width: 0;
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Password Actions (Generate & Toggle) */
.password-action-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
    padding: 0 5px;
    transition: color 0.2s;
}

.password-action-btn:hover {
    color: #000;
}

/* Positioning specific buttons */
.btn-toggle-password {
    right: 15px;
}

.btn-generate-password {
    right: 45px;
    /* Spaced to the left of the toggle button */
}

/* Ensure input has room for buttons */
/* The input needs padding-right */

.invalid-feedback {
    font-size: 12px;
    margin-top: 5px;
}

.input-padding-right-80 {
    padding-right: 80px !important;
}

.input-padding-right-50 {
    padding-right: 50px !important;
}

/* Auth Layout Styles - Refactored from Inline */
.auth-content-wrapper {
    min-height: 80vh;
}

.auth-form-container {
    max-width: 600px;
    padding: 40px;
}

.auth-heading {
    font-size: 32px;
    font-weight: 600;
}

.phone-flag-wrapper {
    width: 130px;
}

.marketing-text {
    font-size: 13px;
}

.btn-submit-custom {
    background: #000;
    border: none;
    height: 56px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.auth-banner-container {
    position: relative;
}

.auth-banner-image {
    background-image: url('../../imgs/page/homepage1/banner3.png');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
}

.banner-bg-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
}

.banner-text-1 {
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px;
}

.banner-text-2 {
    font-family: 'Inter', sans-serif;
    letter-spacing: 5px;
}