@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@300;400;600&display=swap');

:root {
    --primary: #89847A;
    --primary-hover: #736F66;
    --bg-color: #FFFFFF;
    --surface: #F9F8F6;
    --surface-light: #F3F1ED;
    --text: #1C1A17;
    --text-muted: #6B7280;
    --border: #E5E7EB;
    --accent: #89847A;
    --danger: #EF4444;
    --success: #10B981;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-color);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

p {
    line-height: 1.6;
}

/* Panels */
.glass-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    flex: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    /* Pill shape */
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(137, 132, 122, 0.3);
}

.btn-block {
    width: 100%;
}

/* Inputs */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(137, 132, 122, 0.1);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    text-decoration: none;
}

.nav-brand:hover {
    opacity: 0.8;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-error {
    background: #FEE2E2;
    border: 1px solid #F87171;
    color: #991B1B;
}

.alert-success {
    background: #D1FAE5;
    border: 1px solid #34D399;
    color: #065F46;
}

/* Tables */
table {
    border-collapse: separate;
    border-spacing: 0;
}

thead th {
    background: var(--surface-light);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    padding: 0.75rem 1rem !important;
}

tbody tr:hover {
    background: var(--surface-light) !important;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(28, 26, 23, 0.4);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
}

#lightbox-modal {
    cursor: zoom-out;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    background: white;
}

.enlargeable {
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.enlargeable:hover {
    transform: scale(1.03);
}

/* UTILS */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.text-muted {
    color: var(--text-muted);
}