:root {
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #4bb543;
    --error-color: #ff3333;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    color: var(--dark-color);
    line-height: 1.6;
}

.login-container {
    display: flex;
    min-height: 100vh;
}

/* Decorative left section */
.login-decoration {
    position: relative;
    flex: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
}

.decoration-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.shape-1 {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.shape-2 {
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.welcome-content {
    position: relative;
    z-index: 1;
    max-width: 500px;
    text-align: center;
}

.welcome-content .logo {
    width: 180px;
    margin-bottom: 2rem;
}

.welcome-content h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.welcome-content p {
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 1.2rem;
}

/* Login form section */
.login-form-container {
    flex: 1;
    max-width: 500px;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.form-header h2 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray-color);
    font-size: 0.95rem;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
    outline: none;
}

.input-group .icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    font-size: 1rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    font-size: 1rem;
}

/* Floating labels */
.floating label {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.floating input:focus + label,
.floating label.active {
    top: 0;
    left: 3rem;
    transform: translateY(-50%) scale(0.9);
    background: white;
    padding: 0 0.3rem;
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remember-me input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    margin-right: 0.5rem;
    position: relative;
}

.remember-me input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.remember-me input:checked ~ .checkmark:after {
    display: block;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.login-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
}

.error-message {
    margin-top: 1.5rem;
    padding: 0.8rem;
    background: rgba(255, 51, 51, 0.1);
    color: var(--error-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.security-info {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.security-info i {
    color: var(--success-color);
}

.version-info {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-color);
}

/* Responsive design */
@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-decoration {
        display: none;
    }
    
    .login-form-container {
        max-width: 100%;
        padding: 2rem 1.5rem;
    }


  .nav-link {
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
  }
  .nav-link:hover,
  .nav-link.hover-bg-primary:hover {
    background-color: #0d6efd;
    color: white !important;
  }
  .hover-bg-light:hover {
    background-color: #f8f9fa;
    color: #0d6efd !important;
  }


}