/* =========================================
   Global Styles – Version 1.0.0 (Beta)
   ========================================= */

body {
    margin: 0;
    padding: 0;
    background: #0d0d0d;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
    color: #fff;
}

/* =========================================
   Login Page
   ========================================= */

.login-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    width: 350px;
    margin: 120px auto;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    animation: fadeIn 0.8s ease;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #00eaff;
}

input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    font-size: 15px;
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    background: #00eaff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #00bcd4;
}

.version {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    opacity: 0.6;
}

/* =========================================
   Slide-Out Menü (für spätere Seiten)
   ========================================= */

.menu-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    z-index: 1000;
    color: #00eaff;
    user-select: none;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100%;
    background: #111;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: 0.3s ease;
    border-left: 1px solid #00eaff33;
    z-index: 999;
}

.side-menu a {
    color: #00eaff;
    text-decoration: none;
    padding: 12px 25px;
    font-size: 18px;
    transition: 0.2s;
}

.side-menu a:hover {
    background: #00eaff22;
}

/* =========================================
   Home Page (wird später genutzt)
   ========================================= */

.home-container {
    max-width: 800px;
    margin: 80px auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid #00eaff33;
    animation: fadeIn 0.8s ease;
}

.home-container h1 {
    color: #00eaff;
    text-align: center;
    margin-bottom: 10px;
}

.home-container .version {
    text-align: center;
    opacity: 0.7;
    margin-bottom: 30px;
}

.welcome-message {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #ccc;
}

.features {
    margin-bottom: 40px;
}

.features h2 {
    color: #00eaff;
    text-align: center;
    margin-bottom: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #00eaff33;
}

.feature-item h3 {
    color: #00eaff;
    margin-bottom: 10px;
}

.feature-item p {
    color: #ccc;
}

.patch-box {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #00eaff33;
    margin-bottom: 30px;
}

.patch-box h2 {
    margin-top: 0;
    color: #00bcd4;
}

.buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.btn {
    padding: 12px 20px;
    background: #00eaff;
    border-radius: 8px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    transition: 0.2s;
}

.btn:hover {
    background: #00bcd4;
}

.user-stats {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #00eaff33;
}

.user-stats h3 {
    color: #00eaff;
    margin-bottom: 10px;
}

.user-stats p {
    margin: 5px 0;
    color: #ccc;
}

/* =========================================
   Admin Panel Styles
   ========================================= */

.admin-box {
    background: #222;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

input, select, button {
    padding: 8px;
    margin: 5px 0;
    background: #333;
    color: #eee;
    border: 1px solid #444;
    border-radius: 4px;
}

button {
    cursor: pointer;
    background: #00eaff;
    border: none;
    color: #000;
    font-weight: bold;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #444;
}

th {
    background: #333;
}

.danger {
    background: #d33 !important;
    color: #fff;
}

/* =========================================
   Profil-Reiter und User-Liste
   ========================================= */

.profile-tab {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    overflow: hidden;
    z-index: 1000;
    transition: 0.2s;
    border: 1px solid #00eaff33;
}

.profile-tab:hover {
    background: rgba(255, 255, 255, 0.2);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-list-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    font-size: 28px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 50%;
    z-index: 1000;
    transition: 0.2s;
    border: 1px solid #00eaff33;
}

.user-list-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-list-panel {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: #111;
    padding: 10px;
    border-radius: 10px;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 999;
    border: 1px solid #00eaff33;
    box-shadow: 0 0 10px rgba(0, 234, 255, 0.2);
}

.user-list-panel h3 {
    margin: 0 0 10px 0;
    color: #00eaff;
}

.user-item {
    display: flex;
    align-items: center;
    padding: 5px;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.2s;
}

.user-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

/* =========================================
   Modal für Profilansicht
   ========================================= */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #111;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #00eaff33;
    border-radius: 10px;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 0 20px rgba(0, 234, 255, 0.3);
}

.close {
    color: #00eaff;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #fff;
}

.modal-content h2 {
    color: #00eaff;
    margin-top: 0;
}

.modal-content p {
    color: #ccc;
    margin: 10px 0;
}