* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f7;
}


.theme-toggle {
    background-color: #5c45f5;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.theme-toggle:hover {
    background-color: #4835d1;
}

.login-container {
    display: flex;
    height:100vh;
}

.login-image {
    flex: 1;
    background: linear-gradient(135deg, #5c45f5, #4835d1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.login-image-content {
    max-width: 500px;
    color: white;
    text-align: center;
}

.login-image-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.login-image-content p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

.stats {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

.login-form {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.form-container {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 450px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 28px;
    color: #212121;
    margin-bottom: 10px;
}

.form-header p {
    color: #666;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #5c45f5;
    box-shadow: 0 0 0 3px rgba(92, 69, 245, 0.2);
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: #5c45f5;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 14px;
    background-color: #5c45f5;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-button:hover {
    background-color: #4835d1;
}

.separator {
    display: flex;
    align-items: center;
    margin: 8px 0;
}

.separator-line {
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.separator-text {
    padding: 0 15px;
    color: #666;
    font-size: 14px;
}

.social-login {
    display: flex;
    gap: 15px;
}

.social-button {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.social-button:hover {
    background-color: #f5f5f7;
    border-color: #bbb;
}

.register-link {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.register-link a {
    color: #5c45f5;
    text-decoration: none;
    font-weight: 500;
}

.register-link a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
        height: auto;
    }
    
    .login-image, .login-form {
        padding: 30px 20px;
    }
}

.back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    /* border-radius: 8px; */
    padding: 10px 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.back-button {
    padding: 8px 12px;
    font-size: 14px;
}

.error{
    color:red !important;
    padding-left: 5px;

}