.onboarding-step {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #ddd;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            color: #666;
        }
        .onboarding-step.active {
            background: #007bff;
            color: white;
        }
        .onboarding-border {
            width: 60px;
            height: 2px;
            background: #ddd;
        }
        .onboarding-wrapper {
            max-width: 800px;
            margin: 0 auto;
        }
        .form-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }
        .form-col {
            flex: 1;
        }
        .form-col label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }
        .form-col input, .form-col select {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 14px;
        }
        .required {
            color: #dc3545;
        }
        .btn-next {
            background: #007bff;
            color: white;
            padding: 5px 20px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            float: right;
        }
        .btn-next:hover {
            background: #0056b3;
        }
        .em{
            color:red;
        }
        .otp-card-margin {
            margin-top:50px;
            margin-left:150px;
            margin-right:150px;
        }

        label[for="terms_and_condition"].error, label[for="notification_check"].error {
            position: absolute;
            margin-top: 20px;
            margin-left: -25px;
        }
        label[for="gender"].error {
            position: absolute;
            margin-top: -19px;
            margin-left: -24px;
        }
        label[for="country_code"].error, label[for="wa_country_code"].error {
            position: absolute;
            margin-top: 40px;
        }
        .select2-container .select2-selection--single {
            height: 40px !important;   /* set your desired height */
            line-height: 50px !important;
            padding: 5px 10px;
            font-size: 16px;
        }
        .select2-container .select2-selection__placeholder {
            font-size: 13px; 
        }
        .select2-container .select2-results__option {
            font-size: 13px;
        }
        label[for="subscription_type"].error {
            position: absolute;
            margin-top: -84px;
            margin-left: 110px;
        }
        .form-step { display: none; }
        .form-step.active { display: block; }

        

        /* ===== Header Container ===== */
        .member-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 14px 18px;
            background: #ffffff;
            border-bottom: 1px solid #e5e7eb;
            font-family: Inter, sans-serif;
        }

        /* ===== Left Section ===== */
        .member-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .member-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: #d1d5db;
            background-image: url("/static/tenant-admin-static/images/male.png");
            background-size: cover;
            background-position: center;
        }

        /* ===== Member Info ===== */
        .member-info {
            line-height: 1.2;
        }

        .member-name {
            font-size: 18px;
            font-weight: 600;
            color: #111827;
        }

        .member-role {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            color: #0ea5e9;
            margin-top: 2px;
        }

        .member-role i {
            font-size: 14px;
        }

        /* ===== Right Section ===== */
        .member-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        /* Edit Icon */
        .icon-btn {
            background: transparent;
            border: none;
            color: #6b7280;
            font-size: 16px;
            cursor: pointer;
        }

        .icon-btn:hover {
            color: #0f172a;
        }

        /* Inactivate Button */
        .inactive-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #e0f2fe;
            color: #0284c7;
            border: none;
            padding: 8px 14px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
        }

        .inactive-btn:hover {
            background: #bae6fd;
        }

        /* Close Button */
        .close-btn {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            border: 2px solid #9ca3af;
            background: transparent;
            color: #9ca3af;
            font-size: 14px;
            cursor: pointer;
        }

        .close-btn:hover {
            border-color: #ef4444;
            color: #ef4444;
        }


        .member-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            overflow: hidden; /* 👈 KEY FIX */
            background: #e5e7eb;
            flex-shrink: 0;
        }

        .member-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 👈 prevents stretching */
            border-radius: 50%;
            display: block;
        }

            .password-wrapper {
            position: relative;
        }

        .password-wrapper input {
            padding-right: 42px;
        }

        .toggle-password {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: #6b7280;
        }

        .toggle-password:hover {
            color: #111827;
        }

    .help_text
    {
            font-size:13px;
            padding-top:5px;
            line-height: 18px;
            margin-bottom: 10px;
            font-style: italic;
    } 
    .form-control
    {
        margin-bottom: 0px !important;
    }

    .password-wrapper {
        position: relative;
    }

    /* Tooltip */
    .password-tooltip {
        display: none;
        position: absolute;
        background: #e74c3c;
        color: #fff;
        padding: 12px 14px;
        border-radius: 6px;
        font-size: 13px;
        width: 270px;
        margin-top: 6px;
        z-index: 1000;
    }

    /* Arrow */
    .password-tooltip .tooltip-arrow {
        position: absolute;
        top: -8px;
        left: 20px;
        width: 0;
        height: 0;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #e74c3c;
    }

    .password-tooltip ul {
        margin: 0;
        padding-left: 18px;
    }

    .password-tooltip li {
        margin-bottom: 6px;
    }

    #toast-container {
    z-index: 999999999 !important;
}