:root {
    --color-olive: #556B2F;
    --color-olive-dark: #3b4d1e;
    --color-gold: #D4AF37;
    --color-gold-light: #f3e5ab;
    --color-bg: #f9f9f9;
    --color-text: #333;
    --color-white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

/* Reset & Base */
#jc-app-container {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    min-height: 600px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hidden { display: none !important; }

/* Buttons */
.btn-gold {
    background: var(--color-gold);
    color: var(--color-white);
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}
.btn-gold:hover { background: #b5952f; }

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-white);
    color: var(--color-white);
    padding: 5px 15px;
    cursor: pointer;
}

/* Login Screen */
#jc-login-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    background: linear-gradient(135deg, var(--color-olive) 0%, #2c3e10 100%);
}

.jc-login-card {
    background: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.brand-title {
    font-family: var(--font-heading);
    color: var(--color-olive);
    margin-bottom: 5px;
}

.brand-subtitle {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.8em;
    margin-bottom: 5px;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.jc-biometrics {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.bio-buttons button {
    background: none;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    cursor: pointer;
    color: var(--color-olive);
}

/* Dashboard Layout */
#jc-dashboard {
    display: flex;
    height: 600px;
}

.jc-sidebar {
    width: 250px;
    background: var(--color-olive);
    color: var(--color-white);
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.avatar-circle {
    width: 60px;
    height: 60px;
    background: var(--color-gold);
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2em;
}

.jc-nav {
    flex: 1;
    padding: 20px 0;
}

.jc-nav a {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: 0.2s;
    cursor: pointer;
}

.jc-nav a:hover, .jc-nav a.active {
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
    border-left: 4px solid var(--color-gold);
}

.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.jc-main-content {
    flex: 1;
    background: #f4f6f8;
    display: flex;
    flex-direction: column;
}

.jc-topbar {
    background: var(--color-white);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

#jc-content-area {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

/* Components */
.card {
    background: var(--color-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.progress-track {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    position: relative;
}

.progress-step {
    text-align: center;
    font-size: 0.8em;
    position: relative;
    z-index: 2;
}

.step-dot {
    width: 15px;
    height: 15px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 auto 5px;
}

.progress-step.active .step-dot {
    background: var(--color-gold);
}

.progress-line {
    position: absolute;
    top: 7px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

/* Modal */
.jc-modal {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.jc-modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    animation: popIn 0.3s ease;
}

.festive {
    border: 2px solid var(--color-gold);
    background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="%23f3e5ab" opacity="0.2"/></svg>');
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}