:root {
    --primary-color: #006644;
    --primary-hover: #004d33;
    --text-color: #333;
    --text-muted: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.loginpage {
    font-family: 'Questrial', sans-serif;
    background-color: #006644;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    display: flex;
    width: 100%;
    max-width: 1100px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    min-height: 700px;
}

/* Left Section */
.login-info {
    flex: 1.2;
    background: linear-gradient(135deg, #006644 0%, #004d33 100%);
    color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.login-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    pointer-events: none;
}

.info-logo {
    margin-bottom: 40px;
}

.info-logo img {
    height: 60px;
    filter: brightness(0) invert(1);
}

.info-content {
    position: relative;
    z-index: 1;
}

.info-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.info-content .subtitle {
    font-size: 20px;
    color: #ffd700; /* Goldish yellow */
    margin-bottom: 30px;
    font-weight: 500;
}

.info-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 30px;
    width: 100px;
}

.info-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.info-content p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 400px;
}

.campus-image-container {
    margin-top: auto;
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.campus-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.feature-item span {
    font-size: 11px;
    font-weight: 500;
}

/* Right Section */
.login-form-container {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.form-card {
    width: 100%;
    max-width: 400px;
}

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

.form-header .logo-circle {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 0 auto 20px;
    padding: 10px;
}

.form-header .logo-circle img {
    width: 100%;
}

.form-header h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    color: var(--text-muted);
}

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

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.input-field {
    position: relative;
}

.input-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 18px;
}

.input-field input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
}

.input-field input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 68, 0.1);
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-muted);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted);
}

.remember-me input {
    width: 16px;
    height: 16px;
}

.login-button {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-button:hover {
    background: var(--primary-hover);
}

.alert-box {
    margin-top: 30px;
    padding: 15px;
    background: #fff9e6;
    border: 1px solid #ffeeba;
    border-radius: 10px;
    display: flex;
    gap: 12px;
}

.alert-box i {
    color: #856404;
    font-size: 20px;
}

.alert-content p {
    font-size: 13px;
    color: #856404;
    line-height: 1.4;
}

.alert-content strong {
    display: block;
    margin-bottom: 3px;
}

.help-link {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    padding: 15px;
    border-top: 1px dashed #eee;
    width: 100%;
}

.help-link a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
    transition: all 0.3s;
}

.help-link a:hover {
    color: var(--primary-hover);
    transform: translateY(-2px);
}

.footer-copyright {
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.4);
    padding: 30px 0 10px;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.footer-copyright .help-link {
    margin-top: 10px;
    border-top: none;
    padding: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        max-width: 500px;
    }
    .login-info {
        display: none;
    }
}
