css
/* ============================
   ALAP
============================ */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0f1117;
    color: #f5f7fa;
    line-height: 1.5;
}

/* ============================
   KÖZÖS
============================ */

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
    border: none;
}

.hidden {
    display: none !important;
}

/* ============================
   BEJELENTKEZÉS
============================ */

#loginScreen {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: min(100%, 420px);
    background: #191c24;
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45);
    border: 1px solid #292e3a;
    text-align: center;
}

.login-icon {
    font-size: 52px;
    margin-bottom: 10px;
}

.login-card h1 {
    margin: 0 0 6px;
    font-size: 32px;
}

.login-card p {
    color: #aeb5c2;
    margin: 0 0 28px;
}

.login-card label {
    display: block;
    text-align: left;
    margin: 15px 0 7px;
    color: #dce1e8;
    font-weight: 600;
}

.login-card input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #343b49;
    border-radius: 10px;
    background: #10131a;
    color: #fff;
    outline: none;
}

.login-card input:focus {
    border-color: #5865f2;
}

.login-card button {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border-radius: 10px;
    background: #5865f2;
    color: white;
    font-weight: 700;
    transition: 0.2s;
}

.login-card button:hover {
    background: #4752c4;
    transform: translateY(-1px);
}

.error {
    color: #ff6b6b;
    min-height: 22px;
    margin-top: 12px;
}

/* ============================
   APP
============================ */

#appScreen {
    min-height: 100vh;
    padding: 30px 20px 50px;
}

.container {
    width: min(100%, 900px);
    margin: 0 auto;
}

/* ============================
   FEJLÉC
============================ */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

header h1 {
    margin: 0;
    font-size: clamp(28px, 5vw, 40px);
}

header p {
    margin: 5px 0 0;
    color: #aeb5c2;
    font-size: 16px;
}

.logout-button {
    flex-shrink: 0;
    padding: 11px 16px;
    border-radius: 10px;
    background: #ef4444;
    color: white;
    font-weight: 700;
}

.logout-button:hover {
    background: #dc2626;
}

/* ============================
   KÁRTYÁK
============================ */

.card {
    background: #191c24;
    border: 1px solid #292e3a;
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
}

.card h2 {
    margin: 0 0 20px;
    font-size: 21px;
}

/* ============================
   CÉLÖSSZEG
============================ */

.goal-card {
    text-align: center;
}

.goal {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 22px;
    font-size: 30px;
    font-weight: 800;
}

.goal #total {
    color: #4ade80;
}

.goal #target {
    color: #f5f7fa;
}

.progress-background {
    width: 100%;
    height: 22px;
    overflow: hidden;
    border-radius: 999px;
    background: #303642;
}

.progress {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: #4ade80;
    transition: width 0.35s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
    color: #c5cbd5;
}

/* ============================
   CÍMKÉK
============================ */

.card > label {
    display: block;
    margin: 15px 0 7px;
    color: #dce1e8;
    font-weight: 600;
}

/* ============================
   INPUTOK
============================ */

input,
textarea {
    width: 100%;
    border: 1px solid #343b49;
    border-radius: 10px;
    background: #10131a;
    color: #ffffff;
    outline: none;
}

input {
    min-height: 46px;
    padding: 11px 13px;
}

textarea {
    min-height: 110px;
    padding: 12px 13px;
    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: #737b89;
}

input:focus,
textarea:focus {
    border-color: #5865f2;
    box-shadow: 0 0 0 2px rgba(88, 101, 242, 0.15);
}

/* ============================
   BEÁLLÍTÁSOK
============================ */

.input-row {
    display: flex;
    gap: 10px;
}

.input-row input {
    flex: 1;
}

.input-row button {
    min-width: 110px;
    padding: 0 18px;
    border-radius: 10px;
    background: #5865f2;
    color: white;
    font-weight: 700;
}

.input-row button:hover {
    background: #4752c4;
}

/* ============================
   PÉNZ INPUT
============================ */

.money-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.money-input input {
    flex: 1;
}

.money-input span {
    color: #aeb5c2;
    font-weight: 700;
}

/* ============================
   HOZZÁADÁS
============================ */

.add-button {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    border-radius: 10px;
    background: #22c55e;
    color: white;
    font-weight: 800;
}

.add-button:hover {
    background: #16a34a;
}

/* ============================
   ÉRTÉKELÉSEK
============================ */

#entries {
    color: #dce1e8;
}

#entries > * {
    max-width: 100%;
}

/* ============================
   MOBIL
============================ */

@media (max-width: 650px) {

    #loginScreen {
        padding: 15px;
    }

    .login-card {
        padding: 28px 20px;
    }

    #appScreen {
        padding: 20px 12px 40px;
    }

    header {
        align-items: flex-start;
        flex-direction: column;
    }

    .logout-button {
        width: 100%;
    }

    .card {
        padding: 20px 16px;
        border-radius: 15px;
    }

    .goal {
        font-size: 25px;
    }

    .progress-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .input-row {
        flex-direction: column;
    }

    .input-row button {
        min-height: 46px;
    }
}