<!-- resources/views/auth/login.blade.php -->


<?php $__env->startSection('content'); ?>
    <!-- Add Bootstrap Icons CSS -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css">

    <style>
        /* Modern Design Styles */
        body {
            margin: 0;
            padding: 0;
            font-family: 'Poppins', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            background: url("<?php echo e(asset('img/background.png')); ?>") no-repeat center top;
            background-size: cover;
            background-attachment: fixed; /* Fix background while scrolling */
            overflow: auto;
            animation: fadeIn 1.5s ease-in-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .login-box {
            background: transparent;
            padding: 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            width: 530px;
            height: 655px;
            text-align: center;
            animation: slideIn 0.8s ease-in-out forwards;
        }
        form{
            padding: 40px 20px;
        }

        @keyframes slideIn {
            from { transform: translateY(-20px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        .logo {
            width: 120px;
            margin-bottom: 15px;
            animation: bounceIn 1s ease-in-out;
        }

        @keyframes bounceIn {
            0% { transform: scale(0.5); opacity: 0; }
            100% { transform: scale(1); opacity: 1; }
        }

        .slogan {
            color: #1A2980; /* Dark blue for contrast */
            margin-bottom: 5px;
            font-size: 20px;
            font-weight: 700;
            margin-top: -10px;
        }

        .welcome-back {
            font-size: 22px;
            font-weight: 600;
            color: #525252;
            margin-top: 35px;
            margin-bottom: -10px;
        }

        .input-container {
            display: flex;
            align-items: center;
            border: 0 solid transparent;
            border-bottom: 1px solid #a5a5a5;
            background: transparent;
            border-radius: 0;
            padding: 10px;
            margin-bottom: 20px;
        }

        .aadhaar-container {
            display: flex;
            align-items: center;
            border: 0 solid transparent;
            border-bottom: 1px solid #a5a5a5;
            background: transparent;
            border-radius: 0;
            padding: 10px;
            margin-top: 15px;
        }
        .otp-input{
            border: 0 solid transparent;
            border-bottom: 1px solid #a5a5a5;
            background: transparent;
            border-radius: 0;
            width: 180px;
            margin-left: 115px;
        }

        .select-wrapper {
            display: flex;
            align-items: center;
            position: relative;
        }

        .country-code {
            font-size: 14px;
            color: #1A2980;
            border: none;
            background: transparent;
            outline: none;
            cursor: pointer;
            appearance: none;
            padding-right: 40px;
        }

        .arrow-icon {
            font-size: 12px;
            color: #1A2980;
            position: absolute;
            right: 15px;
            pointer-events: none;
        }

        .input-field {
            flex: 1;
            border: none;
            font-size: 16px;
            outline: none;
            background: transparent;
        }

        .input-icon {
            color: #1A2980;
            font-size: 20px;
            margin-right: 10px;
        }

        .btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(135deg, #1A2980, #26D0CE); /* Gradient button */
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            margin-top: 15px;
            font-weight: bold;
            transition: 0.3s;
        }

        .btn:hover {
            background: linear-gradient(135deg, #26D0CE, #1A2980); /* Reverse gradient on hover */
            transform: scale(1.05);
        }

        .separator {
            margin: 20px 0;
            font-size: 18px;
            font-weight: bold;
            color: #888;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .separator::before,
        .separator::after {
            content: "";
            position: absolute;
            width: 30%;
            height: 1px;
            background: #ddd;
            top: 50%;
        }

        .separator::before { left: 5%; }
        .separator::after { right: 5%; }

        .auth-icons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 20px 0;
        }

        .auth-icons .btn {
            width: auto;
            padding: 10px 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            background: #f9f9f9;
            color: #1A2980;
            border: 1px solid #ddd;
            transition: 0.3s;
        }

        .auth-icons .btn:hover {
            background: #1A2980;
            color: white;
            border-color: #1A2980;
        }

        .register-link {
            display: block;
            margin-top: -5px;
            color: #1A2980;
            text-decoration: none;
            font-weight: 600;
        }

        .register-link:hover {
            text-decoration: underline;
        }

        @media (max-width: 600px) {
            .login-box {
                padding: 30px;
                margin: 20px;
            }

            .auth-icons {
                flex-direction: column;
                gap: 10px;
            }

            .auth-icons .btn {
                width: 100%;
                justify-content: center;
            }
        }
        span.gift {
            margin-top: 26px;
        }
    </style>

<div class="login-box">
        <img src="https://bluhealth.bluai.ai/img/logo/BluHealth_Logo.png" alt="BluHealth Logo" class="logo">
        <p class="slogan">Manage. My Health. My Way.</p>
        <p class="welcome-back">Welcome Back!</p>

        <form method="POST" class="ajax-form forms-sample"  action="<?php echo e(route('radiology.signin')); ?>" data-redirect="<?php echo e(route('radiology.dashboard')); ?>" >
             <?php echo csrf_field(); ?>
            <!-- Phone Number Input -->
            <div class="input-container">
             <span class="input-group-text"><i class="bi bi-envelope"></i></span>
                <input id="email" type="text" class="input-field " name="email" value="" required="" placeholder="Enter Registered email">
            </div>
            
            <!-- Aadhaar Input -->
            <div class="aadhaar-container">
                 <span class="input-group-text"><i class="bi bi-lock"></i></span>
                <input id="identifier" type="password" class="input-field" name="password" placeholder="Enter password">
            </div>


            <!-- Login Button -->
            <button type="submit" class="btn btn-login removebutton">
                Login
            </button>
            
             <div class="my-2 mb-2 d-grid gap-2">
                  <!-- Facebook Button -->
                  <a href="<?php echo e(route('facebook.login.radiology')); ?>" class="btn btn-block btn-facebook auth-form-btn" style="background-color: #4267B2; color: white;">
                      <i class="mdi mdi-facebook me-2"></i>Connect using Facebook
                  </a>
              
                  <!-- Google Button -->
                  <a href="<?php echo e(route('google.login.radiology')); ?>" class="btn btn-block btn-google auth-form-btn" style="background-color: #DB4437; color: white;">
                      <i class="mdi mdi-google me-2"></i>Connect using Google
                  </a>
                  </div>
        </form>

        <!-- Register Link -->
        <a class="register-link" href="<?php echo e(route('radiology.register')); ?>">Register to Get Your Imaging</a>
    </div>
 
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app_without_header', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/html/resources/views/radiology/login.blade.php ENDPATH**/ ?>