
/* --- Global Styles & Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

/* --- Main Content Wrapper --- */
.wrapper {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    box-sizing: border-box;
}

h1, h2 {
    color: #1c1e21;
}

h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

p {
    line-height: 1.6;
    color: #606770;
    margin: 0 auto 20px auto;
    max-width: 90%;
}

/* --- Buttons --- */
button {
    font-size: 1rem;
    padding: 12px 24px;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

#login-button {
    background-color: #1877f2; /* A nice blue */
    color: #fff;
}

#login-button:hover {
    background-color: #166fe5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu a button, #runScript {
    background-color: #42b72a; /* A nice green */
    color: white;
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
}

.menu a {
    text-decoration: none;
}

.menu a button:hover, #runScript:hover {
    background-color: #36a420;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.menu a button {
    margin-bottom: 10px;
}


/* --- Containers --- */
#admin-content, #login-container, #access-denied { display: none; }

#access-denied h2 {
    color: #fa383e;
}

#user-display {
    font-size: 0.9rem;
    color: #8a919c;
    margin-bottom: 30px;
}


/* --- Deletion Log Specific (for deleteAchievements.html) --- */
#deletion-log {
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    margin-top: 20px;
    max-height: 400px;
    overflow-y: auto;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    color: #333;
}

#deletion-log p {
    margin: 0;
    padding: 4px 0;
    border-bottom: 1px solid #eee;
    max-width: 100%;
}

#deletion-log p:last-child {
    border-bottom: none;
}

#deletion-log b {
    color: #000;
}

#deletion-log strong {
    color: #d9534f;
}

#status {
    margin-top: 20px;
    font-weight: 500;
}
