/* ================================================================= */
/* RESET I GLOBALNE STYLE DLA LOGIN                                  */
/* ================================================================= */
body.auth-page main section,
body.account-page main section {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body.auth-page main section h2,
body.account-page main section h2 {
    color: #000000;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

body.auth-page main section form,
body.account-page main section form {
    width: 100%;
    display: flex;
    flex-direction: column;
}

body.auth-page main section form label,
body.account-page main section form label {
    display: block;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 6px;
}

body.auth-page main section form input[type="email"],
body.auth-page main section form input[type="password"],
body.auth-page main section form input[type="text"],
body.account-page main section form input[type="email"],
body.account-page main section form input[type="password"],
body.account-page main section form input[type="text"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

body.auth-page main section form input:focus,
body.account-page main section form input:focus {
    outline: none;
    border-color: #333333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

body.auth-page main section form button[type="submit"],
body.account-page main section form button[type="submit"] {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    background: #111111;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s;
}

body.auth-page main section form button[type="submit"]:hover,
body.account-page main section form button[type="submit"]:hover {
    background: #222222;
}

body.auth-page main section form button[type="submit"]:active,
body.account-page main section form button[type="submit"]:active {
    background: #000000;
}

body.auth-page main section p,
body.account-page main section p {
    font-size: 14px;
    margin-top: 20px;
    text-align: center;
    color: #666666;
}

body.auth-page main section p a,
body.account-page main section p a {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: text-decoration 0.2s;
}

body.auth-page main section p a:hover,
body.account-page main section p a:hover {
    text-decoration: underline;
}

/* Additional styles for account page */
body.account-page main section {
    max-width: 500px;
    align-items: flex-start;
    justify-content: flex-start;
}

body.account-page main section h3 {
    color: #333333;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 15px 0;
}

body.account-page main section hr {
    width: 100%;
    margin: 20px 0;
    border: none;
    border-top: 1px solid #dddddd;
}

body.account-page main section .alert {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-size: 14px;
    text-align: left;
}

body.account-page main section .alert-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

body.account-page main section .alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #66bb6a;
}

body.account-page main section > div {
    width: 100%;
    margin-top: 20px;
    text-align: center;
    border-top: 1px solid #dddddd;
    padding-top: 20px;
}

.funty-box {
    width: 100%;
    background: #f5f5f5;
    border: 1px solid #dddddd;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.funty-label {
    color: #333333;
}

.funty-value {
    color: #000000;
    font-size: 22px;
    font-weight: 700;
}
