* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: #eaf1ff;
    background: radial-gradient(
        ellipse at top,
        #224473 0%,
        #111f39 45%,
        #071020 100%
    );
}

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

.logo {
    font-size: 29px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: #70adff;
}

.welcome-screen {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.welcome-card {
    width: 100%;
    max-width: 620px;
    padding: 45px 35px;
    text-align: center;
    background: #101e36;
    border: 1px solid #36547e;
    border-radius: 20px;
    box-shadow: 0 20px 65px #0006;
}

.age-icon {
    display: grid;
    place-items: center;
    width: 75px;
    height: 75px;
    margin: 30px auto 15px;
    border: 3px solid #f1ba66;
    border-radius: 50%;
    color: #f1ba66;
    font-size: 27px;
    font-weight: bold;
}

h1 {
    font-size: 30px;
}

.subtitle,
.heading p {
    color: #abc1e0;
}

.warning {
    margin: 28px 0;
    padding: 20px;
    text-align: left;
    background: #192d4e;
    border: 1px solid #36537b;
    border-radius: 12px;
}

.warning h2 {
    margin-top: 0;
    color: #ffd08a;
    font-size: 19px;
}

.warning p {
    color: #cfdef1;
    line-height: 1.7;
}

.actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 135px;
    padding: 13px 22px;
    border: 0;
    border-radius: 9px;
    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

.primary {
    color: white;
    background: #2877db;
}

.primary:hover {
    background: #438ff0;
}

.secondary {
    background: #394d68;
}

.secondary:hover {
    background: #506786;
}

.note {
    color: #92a9c9;
    margin-top: 25px;
    font-size: 12px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 18px 5%;
    background: #0c1930;
    border-bottom: 1px solid #30496c;
}

.topbar nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.container {
    max-width: 1250px;
    margin: auto;
    min-height: 75vh;
    padding: 40px 25px;
}

.heading {
    margin-bottom: 40px;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.section-heading span {
    color: #abc1e0;
}

.empty {
    margin-top: 20px;
    padding: 70px 25px;
    text-align: center;
    border: 1px dashed #405d83;
    border-radius: 15px;
    background: #142440;
}

.camera-icon {
    color: #70adff;
    font-size: 55px;
}

.empty p {
    max-width: 480px;
    margin: auto;
    color: #a8bfdf;
    line-height: 1.8;
}

footer {
    padding: 25px;
    text-align: center;
    color: #91a8c7;
    border-top: 1px solid #30496c;
}

@media (max-width: 600px) {
    .welcome-card {
        padding: 30px 20px;
    }

    .topbar {
        justify-content: center;
    }

    .logo {
        font-size: 25px;
    }

    h1 {
        font-size: 25px;
    }
}

/* SHOWMEBABY - FORMULARZE */

.register-form {
    margin-top: 30px;
    text-align: left;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    color: #dbe8fc;
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 13px 15px;
    color: #ffffff;
    background: #172a49;
    border: 1px solid #47638b;
    border-radius: 9px;
    font-size: 16px;
}

.form-input:focus {
    outline: 2px solid #68a7ff;
    border-color: #68a7ff;
}

.field-errors,
.form-errors {
    margin-top: 8px;
    color: #ffacac;
    font-size: 13px;
}

.field-errors ul,
.form-errors ul {
    padding-left: 18px;
}

.field-help {
    color: #a8bfdc;
    font-size: 12px;
    line-height: 1.6;
}

.register-submit {
    width: 100%;
    margin-top: 10px;
}

.register-form + .note {
    margin-top: 22px;
}


/* Nawigacja zalogowanego uzytkownika */

.topbar nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.account-name {
    font-weight: 700;
    overflow-wrap: anywhere;
}

.logout-form {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.logout-form button {
    cursor: pointer;
}


/* Usuwanie konta */

.button.danger {
    background: #b42318;
    color: #fff;
}

.button.danger:hover {
    background: #912018;
}
