/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary:    #0d6efd;      /* bootstrap primary, dar îl putem schimba */
    --primary-dk: #0b5ed7;
    --success:    #198754;
    --dark:       #212529;
    --gray:       #6c757d;
    --light-bg:   #f8f9fa;
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
    --shadow:     0 4px 16px rgba(0,0,0,0.10);
    --radius:     10px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--light-bg);
    color: #222;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding-top: 76px;          /* spațiu pentru navbar fix */
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: rgba(255,255,255,0.92) !important;
    padding: 0.65rem 1.1rem !important;
    border-radius: 8px;
    transition: all 0.18s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    background-color: rgba(255,255,255,0.12);
}

.container-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.card {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}

.card-header {
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border-bottom: none;
}

.table {
    margin-bottom: 0;
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.82rem;
    letter-spacing: 0.4px;
    color: #555;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

/* mici îmbunătățiri formular */
.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(13,110,253,0.15);
}

/* responsive table fix */
.table-responsive {
    border-radius: var(--radius);
    overflow: hidden;
}