/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 29 Dec 2025, 3:21:39 am
    Author     : U S E R
*/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #e5e5e5;
}




.nav-links {
    list-style: none;
    margin-left: auto;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

/* Homepage Sections */
.container {
    width: 80%;
    margin: 30px auto;
}



.login-btn {
    display: inline-block;
    background-color: #4f7f6b;
    color: white;
    padding: 10px 40px;
    border-radius: 20px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.cancel-btn {
    background-color: #cfcfcf;
    border: none;
    padding: 10px 40px;
    border-radius: 20px;
    margin-top: 10px;
    cursor: pointer;
}

/* Login Page */
.login-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.login-box {
    background: white;
    padding: 30px;
    width: 350px;
    border-radius: 5px;
}

.login-box h2 {
    text-align: center;
}

.login-box input {
    width: 100%;
    padding: 8px;
    margin: 8px 0 15px;
}

.role-group {
    margin-top: 10px;
    margin-bottom: 20px;
}

.role-item {
    display: grid;
    grid-template-columns: 20px auto;
    align-items: center;
    column-gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.role-item input[type="radio"] {
    margin: 0;
}

.role-option {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}

.role-option input[type="radio"] {
    margin-right: 10px;
}

.radio-group label {
    display: block;
    font-size: 14px;
}

.forgot {
    text-align: center;
    margin-top: 10px;
}

.error {
    color: red;
    text-align: center;
}
.form-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.form-box {
    background: white;
    padding: 30px;
    width: 420px;
    border-radius: 5px;
}

.form-box h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-box input {
    width: 100%;
    padding: 8px;
    margin: 6px 0 14px;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full {
    width: 100%;
    margin-top: 10px;
}

.link-center {
    text-align: center;
    margin-top: 10px;
}

.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    width: 100%;
    padding: 10px 40px 10px 10px; /* space for eye */
    box-sizing: border-box;
}

.eye-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #555;
}

.eye-icon:hover {
    color: #000;
}

.error {
    color: red;
    margin-top: 10px;
    text-align: center;
}

.password-field {
    position: relative;
    width: 100%;
    margin: 8px 0 15px;
}

.password-field input {
    width: 100%;
    padding: 10px 40px 10px 10px;
    margin: 0 !important;
    box-sizing: border-box;
}

.eye-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #555;
}

.eye-icon:hover {
    color: #000;
}

/* ===== GENERAL ===== */
.container {
    padding: 40px;
}

.section {
    background: #ffffff;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ===== NAVBAR ===== */
.navbar {
    background: #1f2a64;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    color: #fff;
    font-size: 22px;
    font-weight: bold;
}

.nav-links li {
    display: inline-block;
    margin-left: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

/* ===== LOGIN SECTION ===== */
.login-section h2 {
    margin-top: 20px;
}

.login-image {
    width: 100%;
    max-width: 420px;   /* 🔥 smaller */
    height: auto;
    border-radius: 12px;
    margin: 0 auto 20px;
    display: block;
}


.login-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #1f2a64;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
}

/* ===== ABOUT & CONTACT ===== */
.about-content,
.contact-content {
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
    margin-top: 20px;
}

.section-image {
    width: 100%;
    max-width: 380px;   /* 🔥 smaller */
    height: auto;
    border-radius: 12px;
}


.contact-info p {
    margin: 8px 0;
}
/* ===== LOGO FIX (FINAL) ===== */
/* ===== LOGO ZOOM FIX ===== */
.navbar .logo {
    width: 42px;
    height: 42px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 🔥 MAKE LOGO BIGGER */
.navbar .logo img {
    width: 200%;     /* increase letters */
    height: 200%;
    object-fit: contain;
}


.about-image {
    width: 100%;
    max-width: 520px;
    max-height: 320px;
    object-fit: cover;
    border-radius: 12px;
    margin: 20px auto;
    display: block;
}
