body {
    font-family: Arial, sans-serif;
    background-color: #f3f4f6;
    margin: 0;
    padding: 20px;
    text-align: center;
}

h1 {
    margin-bottom: 30px;

}
h2 {
    font-size: 30px;
    padding: 0;
}

.user-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.user-box {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 200px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.user-box:hover {
    transform: scale(1.03);
}

.user-name {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.frick-count {
    font-size: 2.5em;
    color: #333;
    margin: 15px 0;
}

.button-group form {
    display: inline-block;
    margin: 0 5px;
}

.button-group button {
    background-color: #4f46e5;
    border: none;
    color: white;
    padding: 8px 16px;
    font-size: 1.2em;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.button-group button:hover {
    background-color: #4338ca;
}


input {
    padding: 8px;
    font-size: 1em;
    border-radius: 6px;
    border: 1px solid #ccc;
}

button {
    padding: 8px 14px;
    font-size: 1em;
    border-radius: 6px;
    border: none;
    background-color: #10b981;
    color: white;
    cursor: pointer;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111827;
    color: white;
    padding: 1px 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.header a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    margin: auto 0 
}

.header a:hover {
    text-decoration: underline;
}

.nav-links a {
    margin-left: 20px;
    font-size: 1em;
    background-color: rgb(20, 57, 175);
    padding: 10px 15px;
}



/* ADMIN */

.admin-buttons form {
    display: inline-block;
    margin: 5px 5px 0;
}


.admin-buttons button {
    background-color: #6b7280;
    border: none;
    color: white;
    padding: 6px 12px;
    font-size: 0.95em;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.admin-buttons button:hover {
    background-color: #4b5563;
}

.add-user-form {
    margin-bottom: 30px;
}

.add-user-form input {
    padding: 8px;
    font-size: 1em;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.add-user-form button {
    padding: 8px 14px;
    font-size: 1em;
    border-radius: 6px;
    border: none;
    background-color: #10b981;
    color: white;
    cursor: pointer;
}

.add-user-form button:hover {
    background-color: #059669;
}

.admin-action-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.admin-action-container form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.admin-action-container input {
    width: 80%;
    padding: 6px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-align: center;
}

.admin-action-container button {
    background-color: #6b7280;
    border: none;
    color: white;
    padding: 6px 12px;
    font-size: 0.95em;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.admin-action-container button:hover {
    background-color: #4b5563;
}

@media (max-width: 600px) {
    body {
        padding: 0px;
    }
}