/* =================================================================
   FŐ TARTALOM TERÜLET + BODY/HTML ALAP — kiszedve base.html-ből 2026-06-04 F1
   Forrás: projects/templates/projects/base.html <style> 35–55, 250–318, 380–399 sorok
   ================================================================= */

/* Foundation fázis: 11px → 14px migráció (2026-05-30) */
html { font-size: 14px; }

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background-color: var(--body-bg);
    color: var(--content-text);
    display: flex;
    height: 100vh;
    overflow: hidden;
}

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

/* FŐ TARTALOM */
.main-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
}

.content-area {
    padding: 30px;
    overflow-y: auto;
    height: 100%;
    -webkit-overflow-scrolling: touch;
    background-color: var(--body-bg);
    color: var(--content-text);
}

/* Üzenetek — Bootstrap alert osztályok használata miatt egyszerűsíthető,
   de fallbackként megtartva (legacy template-ek használhatják) */
.alert-custom {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 4px solid transparent;
}

.alert-success-custom {
    background: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

.alert-error-custom {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}
