/* Intrata Desk — osnovna tema */
:root {
    --primary: #0d7d6b;
    --primary-hover: #0a6356;
    --accent: #c9a84c;
    --ink: #0e0e12;
    --paper: #f5f3ee;
    --surface: #1a1a24;
    --surface-hover: #252532;
    --text: #e8e6e1;
    --text-muted: #8a8a8a;
    --danger: #dc2626;
    --success: #16a34a;
    --warning: #d97706;
    --radius: 8px;
    --font-ui: 'Segoe UI', system-ui, sans-serif;
    --font-mono: 'Consolas', 'Courier New', monospace;
}

/* Tamna tema */
body, body.dark {
    background: var(--ink);
    color: var(--text);
    font-family: var(--font-ui);
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

/* Svetla tema */
body.light {
    --ink: #f5f3ee;
    --surface: #ffffff;
    --surface-hover: #ebe8e1;
    --text: #1a1a24;
    --text-muted: #666666;
    background: var(--ink);
    color: var(--text);
}

/* Login ekran */
.login-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.login-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.login-card h1 {
    margin: 1rem 0 2rem;
    font-size: 1.5rem;
}

.org-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.org-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

/* Forme */
.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--surface-hover);
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--text);
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(13, 125, 107, 0.3);
}

/* Dugmici */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

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

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

/* Alert */
.alert {
    padding: 0.75rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.alert-error {
    background: rgba(220, 38, 38, 0.15);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* Status bar */
.status-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2rem;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid var(--surface-hover);
}

.powered-by {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}
