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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    background: #f3f4f6;
    color: #111827;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.5rem;
}

.site-header {
    border-bottom: 1px solid #e5e7eb;
    background: #ffffff;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.logo-text-main {
    font-size: 1.1rem;
    font-weight: 600;
}

.logo-text-sub {
    font-size: 0.85rem;
    color: #6b7280;
}

.hero {
    padding: 2.5rem 0 2rem;
}

.hero-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}

.hero-text {
    max-width: 640px;
    font-size: 0.98rem;
    color: #4b5563;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.hero-badge span {
    font-size: 1rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
    border-color: #bfdbfe;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.card-icon {
    width: 32px;
    height: 32px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #ffffff;
}

.card-icon.it {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
}

.card-icon.transport {
    background: linear-gradient(135deg, #0f766e, #22c55e);
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
}

.card-text {
    font-size: 0.95rem;
    color: #4b5563;
}

.mini-list {
    list-style: none;
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.mini-list li {
    margin-bottom: 0.1rem;
}

.mini-list li::before {
    content: "• ";
    color: #2563eb;
}

.card-link {
    margin-top: auto;
    font-size: 0.9rem;
    color: #2563eb;
    font-weight: 500;
}

.site-footer {
    border-top: 1px solid #e5e7eb;
    padding: 1rem 0 1.5rem;
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
    background: #ffffff;
}

.spatiu {
	margin-bottom:24px;
}

.documente-lista {
  list-style: none;
  padding-left: 0;
}

.documente-lista li {
  margin-bottom: 14px;
}

.disabled-link {
  color: #777;
  font-weight: 500;
  cursor: default;
}

.documente-lista small {
  color: #999;
  font-style: italic;
}

/* Subpagini */

.page-header {
    margin: 1.5rem 0 1.25rem;
}

.page-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #111827;
}

.page-subtitle {
    color: #6b7280;
    font-size: 0.95rem;
}

.breadcrumbs {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.3rem;
}

.breadcrumbs a {
    color: #6b7280;
}

.breadcrumbs a:hover {
    color: #2563eb;
}

.top-nav {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.top-nav a {
    font-size: 0.85rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #4b5563;
}

.top-nav a.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.top-nav a.activem {
    background: #15803d;
    border-color: #15803d;
    color: #ffffff;
}

.top-nav a:hover {
    border-color: #bfdbfe;
}

.section {
    margin: 1.5rem 0 2rem;
}

.section h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.text-muted {
    color: #6b7280;
    font-size: 0.95rem;
}

.two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 1.5rem 0 2rem;
}

.two-columns h3 {
    margin-bottom: 0.75rem;
}

.checklist {
    list-style: none;
}

.checklist li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}

.checklist li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #2563eb;
}

.table-like {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
    background: #ffffff;
}

.table-like th,
.table-like td {
    border: 1px solid #e5e7eb;
    padding: 0.6rem 0.75rem;
}

.table-like th {
    text-align: left;
    background: #f9fafb;
    font-weight: 600;
}

.table-like tr:nth-child(even) td {
    background: #f9fafb;
}

.callout {
    border-radius: 0.75rem;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    padding: 0.9rem 1rem;
    margin: 1.2rem 0;
    font-size: 0.9rem;
    color: #1d4ed8;
}

.contact-box {
    margin: 1.5rem 0 2.5rem;
    padding: 1.3rem;
    border-radius: 0.9rem;
    border: 1px solid #e5e7eb;
    background: #ffffff;
}

.contact-box h2 {
    margin-bottom: 0.6rem;
}

.contact-box ul {
    list-style: none;
    margin-top: 0.4rem;
}

.contact-box li {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.contact-box a {
    color: #2563eb;
}

.contact-box a:hover {
    text-decoration: underline;
}

.note {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 0.4rem;
}

.docs-list {
    list-style: none;
    margin-top: 0.6rem;
}

.docs-list li {
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

.docs-list a {
    color: #2563eb;
}

.docs-list a:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero {
        padding-top: 1.75rem;
    }
    .hero-title {
        font-size: 1.6rem;
    }
}


/* --- Tables: readable & mobile-friendly --- */
.table-like { width: 100%; border-collapse: collapse; }
.table-like th, .table-like td { padding: 0.75rem; border: 1px solid rgba(0,0,0,0.12); vertical-align: top; }
.table-like th { text-align: left; font-weight: 700; }
.note { margin-top: 0.75rem; opacity: 0.9; }
@media (max-width: 768px){
  .table-like { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-like th, .table-like td { min-width: 220px; }
}
