/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f8f9fa;
    /* height: auto; */
    overflow: auto;
    /* border: #0277bd 5px solid; */
}

.container {
    display: flex;
    height: 100vh;
}

/* Left Section Styles */
.left-section {
    width: 50%;
    background-color: #f0f5ff;
    padding: 20px 40px;
    /* position: relative; */
    /* overflow: auto; */
    /* background-image: url('/assets/uploads/login_back.jpg'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: #0277bd 5px solid;
}

/* Header and Logo Section */
.header {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 5px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.hindi-text {
    /* font-size: 14px; */
    color: rgb(30 64 175);
    font-weight: 500;
    font-size: .75rem;
    line-height: 1rem;
    margin-top: .25rem;
}
.subtitle{
    color: rgb(37 99 235);
}

/* Main Content Styles */
.content {
    margin-top: 40px;
}

.main-title {
    color: #0277bd;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    text-align: center;
    margin-bottom: 60px;
    font-size: 18px;
}

.portal-info {
    max-width: 800px;
    margin: 0 auto;
}

.portal-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
}

.portal-description {
    text-align: center;
    color: #555;
    margin-bottom: 50px;
    font-size: 16px;
}

/* Features Section */
.features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.orange {
    background-color: #ff6b35;
}

.green {
    background-color: #4caf50;
}

.blue {
    background-color: #2196f3;
}

.feature-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Right Section Styles */
.right-section {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 40px;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

/* Tabs Styles */
.tabs {
    display: flex;
    border-bottom: 3px solid #f1f1f1;
    margin-bottom: 30px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    font-weight: 500;
    color: #777;
    cursor: pointer;
    position: relative;
}

.tab.active {
    color: #333;
    font-weight: 600;
}

.tab::after {
    content: '';
    position: absolute;
    bottom: -3px;
    right: 0%;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #ff6b35, #fff, #4caf50);
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: #2196f3;
}

.password-input {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #777;
    cursor: pointer;
    font-size: 16px;
}

.forgot-password {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.forgot-password a {
    color: #2196f3;
    text-decoration: none;
    font-size: 14px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: #2196f3;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #1976d2;
}

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: #777;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.divider span {
    padding: 0 15px;
    font-size: 14px;
}

.google-btn {
    width: 100%;
    padding: 12px;
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.google-btn i {
    color: #4285F4;
}

.error{
    color: #ef4444;
}

.google-btn:hover {
    background-color: #f5f5f5;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        overflow-y: auto;
    }
    
    .left-section, 
    .right-section {
        width: 100%;
        height: auto;
    }
    
    .left-section {
        padding: 20px;
    }
    
    .logo-section {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .subtitle {
        margin-bottom: 30px;
    }
    
    .login-container {
        padding: 20px 0;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 24px;
    }
    
    .logo-section {
        gap: 20px;
    }
    
    .logo {
        width: 50px;
        height: 50px;
    }
    
    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .feature-text {
        text-align: center;
    }
}


.animated-image {
    transition: all 0.5s ease-in-out;
    opacity: 1;
    transform: translateY(0);
}

.animated-image:hover {
    opacity: 0.8;
    transform: translateY(-10px);
}

/* Alert styles */
.alert {
    position: relative;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
}

.alert-success {
    color: #0f766e;
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.alert-danger {
    color: #b91c1c;
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}