* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    min-height: 100vh;
    background-color: #f5f7fa;
}

.container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
}

/* Left side with college image */
.image-section {
    flex: 1;
    background: linear-gradient(rgba(0, 50, 100, 0.7), rgba(0, 30, 70, 0.8)), 
                url('/front.PNG');
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    position: relative;
}

.college-logo {
    width: 120px;
    height: 120px;
    background-color: transparent;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    
}

.college-logo i {
    font-size: 60px;
    
}

.college-name {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slogan {
    font-size: 18px;
    text-align: center;
    font-weight: 300;
    max-width: 80%;
    line-height: 1.5;
    margin-bottom: 40px;
    opacity: 0.9;
}

.image-credit {
    position: absolute;
    bottom: 15px;
    font-size: 12px;
    opacity: 0.7;
}

/* Right side with login forms */
.login-section {
    flex: 1;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-type {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid #eaeaea;
}

.login-tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.login-tab.active {
    color: #1a3c6e;
    border-bottom: 3px solid #1a3c6e;
}

.login-form {
    display: none;
}

.login-form.active {
    display: block;
}

.form-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.form-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #444;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #1a3c6e;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: #1a3c6e;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 15px;
    background-color: #1a3c6e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 25px;
}

.login-button:hover {
    background-color: #0f2957;
}

.divider {
    text-align: center;
    position: relative;
    margin: 25px 0;
    color: #999;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #eee;
    z-index: 1;
}

.divider span {
    background-color: white;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn.google {
    color: #DB4437;
}

.social-btn.apple {
    color: #333;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn i {
    font-size: 22px;
}

.signup-link {
    text-align: center;
    color: #666;
    font-size: 15px;
}

.signup-link a {
    color: #1a3c6e;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        margin: 20px;
        max-width: 500px;
    }

    .image-section {
        padding: 40px 20px;
        min-height: 300px;
    }

    .college-logo img {
        width: 80px;
        height: auto;
    }

    .college-logo i {
        font-size: 50px;
    }

    .college-name {
        font-size: 24px;
    }

    .slogan {
        font-size: 16px;
        max-width: 90%;
    }

    .login-section {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .login-section {
        padding: 30px 20px;
    }

    .login-tab {
        font-size: 16px;
        padding: 12px;
    }

    .form-title {
        font-size: 22px;
    }

    .social-login {
        gap: 15px;
    }

    .social-btn {
        width: 45px;
        height: 45px;
    }
}