* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #dcddde;
    background-color: #202225;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #2f3136;
    color: #fff;
    padding: 0.5rem 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

nav {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 10px;
}

nav a {
    color: #dcddde;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: #ffffff;
}

main {
    flex: 1;
    padding: 10px;
}

.container {
    max-width: 900px;
    margin: 10px auto;
    background-color: #2f3136;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

h1 {
    color: #ffffff;
    margin-bottom: 20px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    padding: 20px;
    background-color: #36393f;
    border-radius: 5px;
}

.feature h3 {
    color: #ffffff;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #b9bbbe;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid #40444b;
    border-radius: 4px;
    background-color: #202225;
    color: #dcddde;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #5865f2;
}

button {
    background-color: #5865f2;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #4752c4;
}

.error-message {
    color: #f04747;
    margin-bottom: 1rem;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    max-width: 400px;
    width: 100%;
}

body.login-page main {
    padding: 0 10px;
}

.clients-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.clients-table th,
.clients-table td {
    padding: 0.5rem;
    border-bottom: 1px solid #40444b;
    text-align: left;
}

.clients-table th {
    color: #b9bbbe;
    font-weight: 600;
}

.clients-table tr:nth-child(even) {
    background-color: #2b2d31;
}

.logout-link {
    color: #5865f2;
    text-decoration: none;
}

.logout-link:hover {
    text-decoration: underline;
}

.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: #2f3136;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    width: 100%;
    max-width: 400px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

