:root {
    --sage-green: #7D8F69;
    --earth-brown: #55433C;
    --cream: #F9F7F2;
    --sand: #E5D3B3;
    --dark-grey: #2C3333;
    --white: #FFFFFF;
    --success: #27ae60;
    --error: #e74c3c;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--cream);
    color: var(--dark-grey);
    overflow-x: hidden;
}

/* Login Page Layout */
.login-wrapper {
    display: flex;
    min-height: 100vh;
    background: var(--cream);
}

.login-left {
    flex: 1.2;
    background: linear-gradient(135deg, var(--sage-green) 0%, #5d6d4a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-left::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.login-left::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
}

.login-left .logo-wrapper-img {
    width: 110px;
    height: 110px;
    background: var(--white);
    padding: 1rem;
    border-radius: 30px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    transform: rotate(-8deg);
    z-index: 1;
}

.login-left .logo-wrapper-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.navbar .navbar-logo {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    margin-right: 12px;
}

.verify-header .verify-logo {
    width: auto;
    height: 60px;
    max-width: 150px;
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: contain;
}

.login-left h1 {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 0.5rem;
    z-index: 1;
    text-transform: uppercase;
}

.login-left p {
    font-size: 1.2rem;
    opacity: 0.95;
    letter-spacing: 2px;
    font-weight: 500;
    z-index: 1;
}

.login-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background: var(--cream);
}

.login-card {
    background: var(--white);
    width: 100%;
    max-width: 450px;
    padding: 4rem 3rem;
    border-radius: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.02);
}

.login-card h2 {
    font-size: 2.2rem;
    color: var(--earth-brown);
    margin-bottom: 0.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.login-card .subtitle {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

/* Dashboard Layout */
.navbar {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar h2 {
    color: var(--sage-green);
    font-weight: 800;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

/* Form Styling */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--earth-brown);
}

input[type="text"],
input[type="password"],
input[type="date"],
select,
input[type="file"] {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 14px;
    border: 1.5px solid #EEE;
    background: #F8F8F8;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus {
    outline: none;
    border-color: var(--sage-green);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(125, 143, 105, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.9rem 1.8rem;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--sage-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #6a7c58;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--sage-green);
    color: var(--sage-green);
}

/* Table */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

th {
    padding: 1rem;
    text-align: left;
    font-size: 0.8rem;
    color: var(--earth-brown);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

td {
    padding: 1.2rem 1rem;
    background: var(--white);
    font-size: 0.9rem;
    border-top: 1px solid #F5F5F5;
    border-bottom: 1px solid #F5F5F5;
}

td:first-child { border-left: 1px solid #F5F5F5; border-radius: 15px 0 0 15px; }
td:last-child { border-right: 1px solid #F5F5F5; border-radius: 0 15px 15px 0; }

/* Badges */
.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-success { background: rgba(39, 174, 96, 0.1); color: var(--success); }
.badge-error { background: rgba(231, 76, 60, 0.1); color: var(--error); }

.login-left .logo-circle {
    background: rgba(255,255,255,0.2);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .login-left h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .login-wrapper { flex-direction: column; }
    .login-left { 
        padding: 3rem 1.5rem; 
        min-height: auto;
    }
    .login-left .logo-wrapper-img {
        width: 80px;
        height: 80px;
        padding: 0.8rem;
        margin-bottom: 1.2rem;
        border-radius: 20px;
    }
    .login-left img { width: 120px; margin-bottom: 1.5rem; }
    .login-left h1 { font-size: 2.2rem; }
    .login-left p { font-size: 0.95rem; }
    
    .login-right { padding: 1.5rem; }
    .login-card { padding: 2rem; border-radius: 20px; }
}

@media (max-width: 480px) {
    .login-left h1 { font-size: 1.8rem; }
    .login-card { padding: 1.5rem; }
    .login-card h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }
    
    .navbar { padding: 1rem; }
    .navbar h2 { font-size: 1.2rem; }
    
    .container { padding: 0 1rem; margin: 1rem auto; }
    .card { padding: 1.2rem; border-radius: 16px; }
}
