/* signin_style.css - Professional and Clean Design */

:root {
    --kent-blue: #0A3C6D;
    --kent-gold: #FFC300; /* Gold color for the button */
    --kent-text-dark: #34495e;
    --kent-bg-light: #f4f7f9;
    --shadow-heavy: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, var(--kent-blue) 0%, #17a2b8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--kent-text-dark);
}

.signin-container {
    display: flex;
    max-width: 900px;
    width: 90%;
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

/* --- Left Logo/Intro Area --- */
.logo-area {
    width: 40%;
    padding: 30px;
    background-color: var(--kent-blue);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo-img-large {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    filter: invert(100%) drop-shadow(0 0 5px rgba(0,0,0,0.3));
}

.logo-area h1 {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 5px;
}

.slogan {
    font-size: 0.9em;
    opacity: 0.8;
}

/* --- Right Form Card --- */
.signin-card {
    width: 60%;
    padding: 40px;
}

.signin-card h2 {
    font-size: 1.8em;
    color: var(--kent-blue);
    margin-bottom: 5px;
}

.form-subtitle {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 0.9em;
}

/* --- Form Elements --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--kent-text-dark);
    font-size: 0.9em;
}

.input-icon-group {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 6px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-icon-group:focus-within {
    border-color: var(--kent-gold);
    box-shadow: 0 0 0 3px rgba(255, 195, 0, 0.2);
}

.input-icon-group i {
    padding: 10px;
    background-color: #f8f9fa;
    color: #adb5bd;
    font-size: 1em;
}

.input-icon-group input {
    border: none;
    padding: 10px 15px;
    width: 100%;
    font-size: 1em;
    outline: none;
}

.password-input {
    position: relative;
}

.show-password {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10; 
}

/* --- Form Options (Remember Me / Forgot Password) --- */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9em;
}

.form-group-inline {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 8px;
}

.forgot-password {
    color: var(--kent-blue);
    text-decoration: none;
    font-weight: 500;
}
.forgot-password:hover {
    text-decoration: underline;
}

/* --- Login Button (Gold) --- */
.auth-btn {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gold-btn {
    background-color: var(--kent-gold);
    color: var(--kent-blue); 
    text-transform: uppercase;
}

.gold-btn:hover {
    background-color: #ffda6a; /* Lighter gold on hover */
    box-shadow: 0 4px 10px rgba(255, 195, 0, 0.4);
}

/* --- Sign Up Link Area --- */
.signup-link-area {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9em;
    color: #6c757d;
}

.signup-link-area a {
    color: var(--kent-blue);
    text-decoration: none;
    font-weight: 600;
}
.signup-link-area a:hover {
    text-decoration: underline;
}

/* --- Loading Overlay Styles (from previous step) --- */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #2c3e50; 
    color: white;
    display: none; 
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-size: 1.2em;
    font-weight: 500;
}

.loading-logo {
    width: 100px;
    height: 100px;
    border-radius: 10px;
}

.spinner-container {
    width: 60px;
    height: 60px;
    position: relative;
}

.rotating-wheel {
    width: 100%;
    height: 100%;
    border: 5px solid #4f6a83; 
    border-top: 5px solid var(--kent-gold); 
    border-radius: 50%;
    animation: spin 1.5s linear infinite; 
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .signin-container {
        flex-direction: column;
        width: 95%;
    }

    .logo-area, .signin-card {
        width: 100%;
        padding: 25px;
    }

    .logo-area {
        height: 200px;
        border-radius: 12px 12px 0 0;
    }
}