body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.section {
    width: 90%;
    max-width: 1000px;
}

.card {
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
}

input {
    display: block;
    width: 100%;
    padding: 0.8rem;
    margin: 1rem 0;
    border-radius: 0.5rem;
    border: 1px solid #333;
    background-color: #252525;
    color: white;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 0.8rem;
    border-radius: 0.5rem;
    border: none;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #0056b3;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: #1e1e1e;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    flex: 1;
    text-align: center;
    font-size: 1.2rem;
    border: 1px solid #333;
}

.actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.bot-list {
    background-color: #1e1e1e;
    padding: 2rem;
    border-radius: 1rem;
}

.bot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #333;
}

.bot-controls button {
    width: auto;
    margin-left: 0.5rem;
    padding: 0.4rem 0.8rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1e1e1e;
    border-radius: 0.5rem;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

.tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tabs button {
    width: auto;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #1e1e1e;
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
}

.code-display {
    font-size: 2rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: #00ff00;
    letter-spacing: 5px;
}
