@import url('https://fonts.googleapis.com');

:root {
    --sidebar-bg: #1e293b;
    --sidebar-hover: #334155;
    --accent-color: #3b82f6;
    --bg-light: #f1f5f9;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: #1e293b;
}

/* Sidebar Modernizálás */
.sidebar {
    width: 260px;
    height: 100vh;
   background: #1e293b;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding-top: 20px;
}

.sidebar h4 {
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0 1.5rem 2rem;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.nav-link {
    color: #94a3b8;
    padding: 12px 25px;
    margin: 4px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.main-container {
    margin-left: 260px; /* Pontosan a sidebar szélessége */
    width: calc(100% - 260px);
    min-height: 100vh;
    background-color: #f1f5f9;
}

.nav-link i {
    margin-right: 15px;
    font-size: 1.1rem;
}

.nav-link:hover {
    background: var(--sidebar-hover);
    color: #fff;
}

.nav-link.active {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Kártyák és Konténerek */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-3px);
}

.table-container {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.table-responsive {
    border-radius: 12px;
    background: white;
}

/* Táblázat sorok szépítése */
.table tbody tr {
    transition: all 0.2s ease;
    cursor: default;
}

.table tbody tr:hover {
    background-color: #f8fafc !important;
    transform: scale(1.002);
}

/* Státusz Badge-ek (Modern, lágy színek) */
.badge-pill-custom {
    padding: 6px 12px;
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 20px;
}

.status-folyamatban { background: #dcfce7; color: #166534; }
.status-tervezes { background: #fef9c3; color: #854d0e; }
.status-befejezett { background: #e0f2fe; color: #075985; }

/* Kód badge stílusa */
.prj-code {
    background: #f1f5f9;
    color: #475569;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

/* Partner név alatti kis szöveg */
.partner-subtext {
    font-size: 0.8rem;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

    .last-child-no-border:last-child { border-bottom: 0 !important; margin-bottom: 0 !important; padding-bottom: 0 !important; }
    .bg-soft-primary { background-color: rgba(13, 110, 253, 0.1); }
    .bg-soft-secondary { background-color: rgba(108, 117, 125, 0.1); }
    .x-small { font-size: 0.75rem; }

/* Egyedi görgetősáv a sidebarhoz */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--sidebar-bg); }
::-webkit-scrollbar-thumb { background: #475569; border-radius: 10px; }


/* LOGIN OVERLAY */
        #login-overlay { 
            position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
            background: #1a1d20; z-index: 9999; display: flex; 
            align-items: center; justify-content: center; 
        }
        .nav-link { cursor: pointer; }
        .user-info-bar { 
            padding: 15px; 
            background: rgba(255,255,255,0.05); 
            border-bottom: 1px solid rgba(255,255,255,0.1);
            margin-bottom: 10px;
        }
        

/* DRAG AND DROP */
.project-card.drag-over {
    border: 2px dashed #1b73f9 !important;
    background-color: rgba(27, 115, 249, 0.05) !important;
    transition: scale(0.15);
    transition: all 0.2s ease;
}
/* Drag & Drop Overlay stílus */
.project-card { position: relative; transition: transform 0.2s; }

.drag-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(27, 115, 249, 0.9);
    color: white;
    display: none; /* Alapból rejtve */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 0.5rem;
    pointer-events: none; /* Fontos: ne zavarja a drop eseményt */
}

.project-card.drag-over .drag-overlay { display: flex; }


