
        #email_signin{
            width: 100%;
        }
        /* NEW: Centering and width control */
        .signin-container {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: calc(100vh - 150px);
            padding: 20px;
            background: linear-gradient(135deg, #f5f7fa 0%, #e8f5e9 100%);
        }
        #countryCode {
            display: none;
            opacity: 0;
        }
        
        /* NEW: Alert message styles */
        .ajax_report {
            margin: 20px 0;
            text-align: center;
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .signin-form-wrapper {
            width: 100%;
            max-width: 600px;
            background: #f9f9f9;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.06);
            padding: 30px;
        }
        .links_by_san {
            text-decoration: none;
            color: green;
            font-family: "Montserrat-bold", monospace;
            display: block;
            font-size: 16px;
            text-align: center
        }
        
        /* NEW: Enhanced input group styling */
        .ph {
            position: relative;
            margin-bottom: 15px;
        }
        
        .ph strong {
            display: flex;
            align-items: center;
            background: #f5f5f5;
            border-radius: 8px;
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }
        
        .ph strong:focus-within {
            background: #fff;
            border-color: #1f6b12;
            box-shadow: 0 0 0 3px rgba(31, 107, 18, 0.1);
        }
        
        .ph span {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 46px;
            height: 50px;
            background: transparent;
        }
        
        .ph input {
            width: 100%;
            height: 50px;
            padding: 14px 16px;
            background: transparent;
            border: none;
            border-radius: 0 8px 8px 0;
            font-family: 'Montserrat-Light', serif;
            font-size: 16px;
            color: #333;
        }
        
        .ph input:focus {
            outline: none;
        }
        
        .phone-input-group #countryCode {
            display: none !important;
            opacity: 0 !important;
            transition: opacity 0.3s ease;
        }
        
        /* ADD: Show country selector when phone detected */
        .phone-input-group.with-country #countryCode {
            display: block !important;
            opacity: 1 !important;
        }

        .ph .custom-select {
            width: auto !important;
            min-width: 140px;
            max-width: 200px;
            height: 50px;
            padding: 14px 8px;
            background: transparent;
            border: none;
            border-right: 1px solid #e0e0e0;
            border-radius: 0;
            font-family: 'Montserrat-Light', serif;
            font-size: 13px;
            color: #333;
            cursor: pointer;
            appearance: auto;
            -webkit-appearance: menulist;
            -moz-appearance: menulist;
        }
        
        .ph .custom-select:focus {
            outline: none;
        }
        
        /* Button loading state fix */
        .btn.btn-green {
            border: 1px solid #14440b;
            background: #1f6b12;
            color: #fff;
            background: linear-gradient(135deg, #1f6b12 0%, #1f6b12 100%);
            box-shadow: 0 4px 15px rgba(31, 107, 18, 0.3);
            transition: all 0.3s ease;
        }
        
        .btn.btn-green:hover {
            background: linear-gradient(135deg, #1f6b12 0%, #14440b 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(31, 107, 18, 0.4);
        }
        
        /* Fix for loading state */
        .btn.loading {
            color: #fff !important;
            pointer-events: none;
            position: relative;
        }
        
        .btn.loading::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin-left: -10px;
            margin-top: -10px;
            border: 2px solid #ffffff;
            border-radius: 50%;
            border-top-color: transparent;
            animation: spinner 0.8s linear infinite;
        }
        
        @keyframes  spinner {
            to {
                transform: rotate(360deg);
            }
        }
        
        /* Alert styles */
        .alert {
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-family: 'Montserrat-Medium', serif;
            font-size: 14px;
            animation: slideInDown 0.3s ease-out;
        }
        
        .alert.error_msg {
            background-color: #ffebee;
            color: #c62828;
            border: 1px solid #ef5350;
            padding: 15px 25px;
            border-radius: 10px;

        }
        
        .alert.alert-success {
            background-color: #e8f5e9;
            color: #2e7d32;
            border: 1px solid #66bb6a;
            padding: 15px 25px;
            border-radius: 10px;

        }
        
        @keyframes  slideInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Form wrapper styling */
        .create-account {
            padding: 20px;
        }
        
        .create-account h2 {
            font-size: 24px;
            text-align: center;
            margin-bottom: 25px;
            color: #333;
        }
        
        /* Sub title styling */
        .sub-title {
            color: #3c3a3a;
            font-size: 18px;
            text-align: center;
            margin-bottom: 20px;
        }
        
        /* Verification code input styling */
        .verification input[name="verification_code"] {
            text-align: center;
            font-size: 24px !important;
            letter-spacing: 8px;
            font-family: 'Montserrat-SemiBold', serif;
        }
        
        /* Verify button styling in verification form */
        #verify-code {
            cursor: pointer;
            background: #1f6b12 !important;
            color: white !important;
            border: 1px solid #1f6b12 !important;
        }


        /* Ensure consistent input group styling */
        .password-input-group {
            display: grid;
            grid-template-columns: 40px minmax(50%, 1fr);
            gap: 0;
            align-items: center;
            background: #f5f5f5;
            border-radius: 8px;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            margin-bottom: 20px;
        }

        .password-input-group:focus-within {
            background: #fff;
            border-color: #1f6b12;
            box-shadow: 0 0 0 3px rgba(31, 107, 18, 0.1);
        }

        .password-input-group .input-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 50px;
            padding: 0 12px;
            background: transparent;
        }

        .password-input-group input {
            width: 100%;
            height: 50px;
            padding: 14px 16px;
            background: transparent;
            border: none;
            border-radius: 0 8px 8px 0;
            font-family: 'Montserrat-Light', serif;
            font-size: 16px;
            color: #333;
        }

        /* Specific style for verification code */
        .password-input-group input.phone-token {
            text-align: center;
            font-size: 18px;
            letter-spacing: 5px;
            font-family: 'Montserrat-SemiBold', serif;
        }
        
        .phone-input-group {
            width: 100%;
            display: grid;
            grid-template-columns: 40px minmax(50%, 1fr);
            gap: 0;
            align-items: center;
            background: #f5f5f5;
            border-radius: 8px;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            position: relative;
        }

        .phone-input-group.with-country {
            grid-template-columns: 40px minmax(120px, 150px) minmax(50%, 1fr);
        }

        .phone-input-group:focus-within {
            background: #fff;
            border-color: #1f6b12;
            box-shadow: 0 0 0 3px rgba(31, 107, 18, 0.1);
        }

        .phone-input-group .input-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 50px;
            padding: 0 12px;
            background: transparent;
        }

        .phone-input-group .custom-select {
            width: 100% !important;
            max-width: 140px;
            height: 50px;
            padding: 14px 8px;
            background: transparent;
            border: none;
            border-right: 1px solid #e0e0e0;
            border-radius: 0;
            font-family: 'Montserrat-Light', serif;
            font-size: 13px;
            color: #333;
            cursor: pointer;
            appearance: auto;
            -webkit-appearance: menulist;
            -moz-appearance: menulist;
        }

        .phone-input-group input[name="phone"] {
            width: 100%;
            height: 50px;
            padding: 14px 16px;
            background: transparent;
            border: none;
            border-radius: 0 8px 8px 0;
            font-family: 'Montserrat-Light', serif;
            font-size: 16px;
            color: #333;
        }
        /* Responsive */
        @media (max-width: 767px) {
            .ph .custom-select {
                font-size: 12px;
                padding: 14px 4px;
                max-width: 120px;
            }

            .phone-input-group.with-country {
                grid-template-columns: 40px 120px minmax(50%, 1fr);
            }
            
            .phone-input-group .custom-select {
                max-width: 120px;
                font-size: 12px;
                padding: 14px 4px;
            }
        }
    