:root {
    --primary-gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --secondary-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --dark-accent: #2c3e50;
    --light-accent: #ecf0f1;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --text-dark: #34495e;
    --text-light: #7f8c8d;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--secondary-gradient);
    color: var(--text-dark);
    overflow: hidden;
}

a.btn.btn-sm {
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease-in-out;
}

a.btn.btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.site-header {
    background: linear-gradient(135deg, #95ecd9 0%, #5c7aea 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* Light grey for an elegant look */
    padding: 0.75rem 0;
    position: relative;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.site-name img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-accent);
    position: relative;
  }
  
  h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
  }
  
.image-container {
    flex: 1;
    background: url('../images/login.jpeg') center/cover no-repeat;
    position: relative;
    display: block;
}

.image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(44, 62, 80, 0.6);
}

.main-wrapper {
    display: flex;
    width: 100%;
    max-width: 1100px;
    height: 82vh;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    background-color: #fff;
}

.otpsend {
    width: 50%;
    padding: 0.575rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 0.5rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: block;
    margin: 1rem auto;
}


.otpsend:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.image-section {
    width: 65%;
}

.image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.form-section {
    flex: 1;
    max-width: 500px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgb(255, 255, 255);
    position: relative;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-gradient);
}

.card {
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 25px;
    border: 1px solid #e0e0e0;
    scrollbar-width: none;
    /* Firefox */
}

.card::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, .25);
}

.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper .verified-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    color: green;
    font-size: 18px;
}

.btn-gradient {
    background: linear-gradient(135deg, #5EC3F4, #A64AC9);
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-gradient:hover {
    background: linear-gradient(135deg, #4A90E2, #8E44AD);
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.site-footer {
    background: #2d3748; /* Dark blue-gray */
    color: white;
    padding: 1rem 0;
    text-align: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm) 0px -2px 4px;
}

@media (max-width: 768px) {
    

    .form-section {
        flex-direction: column;
        height: auto;
        margin: 0;
        /* Changed from 1rem to 0 */
        width: 100%;
        border-radius: 0;
    }

    .image-container {
        display: none;
    }
    h2 {
        font-size: 1.5rem;
      }
    .card {
        box-shadow: none;
        border: none;
        padding: 20px;
        background: #fff;
    }
}