/* Base styles */ body { margin: 0; font-family: 'Segoe UI', sans-serif; color: #fff; /* background-color: #1e1e1e; */ transition: background-color 0.3s, color 0.3s; } body.light { /* background-color: #f4f4f4; */ color: #111; } /* Panel container */ #wipeMenu, #citizenIdSelectionMenu, #editplayermenu { display: none; margin: 3% auto; width: 65%; max-width: 700px; padding: 25px; border-radius: 16px; background-color: #2a2a2a; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); overflow-y: auto; max-height: 90vh; } body.light #wipeMenu, body.light #citizenIdSelectionMenu, body.light #editplayermenu { background-color: #ffffff; color: #111; box-shadow: 0 4px 12px rgba(0,0,0,0.1); } /* Header section */ .header { padding: 15px; background-color: #444; border-radius: 12px 12px 0 0; position: relative; } body.light .header { background-color: #f0f0f0; color: #000; } /* Header top layout */ .header-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } /* Logo & Title wrapper */ .logo-title-wrapper { display: flex; flex-direction: column; align-items: center; flex-grow: 1; } /* Rounded animated logo */ .logo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; animation: pulseSpin 0.8s ease-out; margin-bottom: 8px; } /* Title */ .menu-title { margin: 0; font-size: 1.6em; font-weight: 700; text-align: center; color: inherit; } /* Theme toggle */ .theme-toggle { display: flex; align-items: center; justify-content: flex-end; } .switch { position: relative; display: inline-block; width: 50px; height: 24px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: 0.4s; border-radius: 24px; } .slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: 0.4s; border-radius: 50%; } input:checked + .slider { background-color: #4CAF50; } input:checked + .slider:before { transform: translateX(26px); } /* Content */ .content { padding: 15px; font-size: 1.1em; } select, input { width: 100%; padding: 12px; margin: 10px 0; font-size: 1em; border-radius: 8px; border: 1px solid #555; background-color: #333; color: #fff; box-sizing: border-box; } body.light select, body.light input { background-color: #fff; color: #000; border: 1px solid #ccc; } /* Button styles */ .button-container { display: flex; justify-content: space-between; margin-top: 20px; gap: 10px; } button { flex-grow: 1; padding: 12px; font-size: 1.1em; border-radius: 10px; border: none; cursor: pointer; transition: background-color 0.3s, transform 0.3s; color: #fff; } button:hover { transform: scale(1.05); } .confirm { background-color: #1abc9c; } .cancel { background-color: #e74c3c; } body.light .confirm { background-color: #3498db; color: #fff; } body.light .cancel { background-color: #e74c3c; color: #fff; } /* Table styles */ table { width: 100%; border-collapse: collapse; margin-top: 15px; } th, td { text-align: center; padding: 10px; border-top: 1px solid #555; color: #fff; } body.light th, body.light td { color: #000; border-top: 1px solid #ddd; } th { background-color: #444; } body.light th { background-color: #f0f0f0; } /* Footer */ .footer { text-align: center; padding: 12px; font-size: 0.9em; color: #ccc; } body.light .footer { color: #888; } /* Animations */ @keyframes pulseSpin { 0% { transform: scale(0.8) rotate(0deg); opacity: 0; } 100% { transform: scale(1) rotate(360deg); opacity: 1; } }