body{
    background:#0f172a;
    color:white;
    font-family:Arial, sans-serif;
    padding:20px;
}

h1{
    margin-bottom:20px;
    font-size:28px;
}

h2{
    font-size:16px;
    margin-bottom:10px;
    opacity:0.9;
}

/* UKŁAD GŁÓWNY */
.container{
    display:flex;
    gap:15px;
    align-items:flex-start;
}

/* KOLUMNY (CZAT / TELEFON) */
.column{
    flex:1;
    background:#111827;
    padding:12px;
    border-radius:12px;
    min-height:200px;

    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(120px, 1fr));
    gap:10px;
}

/* DÓŁ (bez przypisania) */
.bottom{
    margin-top:20px;
    background:#111827;
    padding:12px;
    border-radius:12px;

    display:grid;
    grid-template-columns:repeat(auto-fill, minmax(120px, 1fr));
    gap:10px;
}

/* KAFEL */
.card{
    background:#1e293b;
    border-radius:10px;
    padding:8px;
    border:2px solid transparent;

    height:120px;

    display:flex;
    flex-direction:column;
    justify-content:space-between;

    font-size:12px;
}

/* podświetlenie ZW */
.card.active{
    border-color:#f59e0b;
}

/* NAZWA */
.name{
    font-size:13px;
    font-weight:bold;
    line-height:1.2;
}

/* STATUS */
.status{
    font-size:11px;
    font-weight:bold;
}

.status.jj{
    color:#22c55e;
}

.status.zw{
    color:#f59e0b;
}

/* DROBNE INFO */
.small{
    font-size:10px;
    opacity:0.7;
}

/* FORMULARZ */
form{
    margin-top:6px;
}

select{
    width:100%;
    padding:5px;
    font-size:11px;
    border:none;
    border-radius:6px;
    background:#0f172a;
    color:white;
    margin-bottom:5px;
}

button{
    width:100%;
    padding:6px;
    font-size:11px;
    border:none;
    border-radius:6px;
    background:#22c55e;
    font-weight:bold;
    cursor:pointer;
}

button:hover{
    opacity:0.9;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 900px){
    .container{
        flex-direction:column;
    }
}
