/* -------------------------
   GLOBAL
------------------------- */

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #0b1220;
    color: #e5e7eb;
}

/* -------------------------
   LAYOUT (dashboard)
------------------------- */

.layout {
    display: flex;
    gap: 15px;
    padding: 20px;
}

/* -------------------------
   PANEL
------------------------- */

.panel {
    flex: 1;
    background: #111a2e;
    border: 1px solid #1f2a44;
    border-radius: 10px;
    padding: 20px;
    min-height: 300px;
}

/* -------------------------
   INPUTS
------------------------- */

input {
    width: 100%;
    padding: 10px;
    margin: 6px 0;
    border-radius: 6px;
    border: 1px solid #2d3b55;
    background: #0f172a;
    color: white;
    outline: none;
}

input:focus {
    border-color: #3b82f6;
}

/* -------------------------
   BUTTONS
------------------------- */

button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

/* primary */
button.primary {
    background: #3b82f6;
    color: white;
}

button.primary:hover {
    background: #2563eb;
}

/* success */
button.success {
    background: #22c55e;
    color: white;
}

button.success:hover {
    background: #16a34a;
}

/* danger (opcjonalnie) */
button.danger {
    background: #ef4444;
    color: white;
}

/* -------------------------
   RESULT BOX
------------------------- */

#result {
    background: #0f172a;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #1f2a44;
    margin-top: 10px;
}

/* -------------------------
   TYPOGRAPHY
------------------------- */

h2 {
    margin-top: 0;
    font-size: 18px;
    color: #93c5fd;
}

h3 {
    margin-bottom: 5px;
}

/* -------------------------
   SMALL CARD (history / projects)
------------------------- */

.card {
    background: #0f172a;
    border: 1px solid #1f2a44;
    padding: 10px;
    margin-bottom: 8px;
    border-radius: 6px;
}

/* -------------------------
   RESPONSIVE
------------------------- */

@media (max-width: 900px) {
    .layout {
        flex-direction: column;
    }
}