
body { margin: 0; font-family: Arial, sans-serif; background-color: #121212; color: #a0a0a0; display: flex; height: 100vh; }
.auth-body { justify-content: center; align-items: center; }
.sidebar { width: 220px; background-color: #1a1a1a; padding: 20px 0; border-right: 1px solid #2d2d2d; }
.sidebar h2 { color: #8ab4f8; padding: 0 20px; font-size: 18px; margin-bottom: 5px;}
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li a { color: #b3b3b3; text-decoration: none; display: block; padding: 12px 20px; font-size: 14px; border-left: 3px solid transparent;}
.sidebar li.active a, .sidebar a:hover { color: #fff; background-color: #2a2a2a; border-left-color: #4ade80;}
.main-content { flex: 1; padding: 30px 40px; overflow-y: auto; background-color: #121212; }
.card { background-color: #1e1e1e; padding: 25px; border-radius: 8px; margin-bottom: 25px; border: 1px solid #2d2d2d; box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.card h3 { color: #4ade80; margin-top: 0; font-size: 16px; margin-bottom: 20px; border-bottom: 1px solid #2d2d2d; padding-bottom:10px;}
input[type="url"], input[type="text"], input[type="password"], select.custom-select { width: 100%; padding: 12px 15px; background-color: #121212; border: 1px solid #333; color: #fff; border-radius: 6px; box-sizing: border-box; margin-bottom: 12px; outline: none; font-size:14px; transition: border 0.2s;}
input:focus, select.custom-select:focus { border-color: #4ade80; }
.domain-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.domain-item input { display: none; }
.domain-item span { display: block; padding: 12px; text-align: center; border: 1px solid #333; border-radius: 6px; cursor: pointer; font-size: 13px; color: #b3b3b3; transition: all 0.2s; background:#1a1a1a;}
.domain-item input:checked + span { border-color: #4ade80; color: #4ade80; background-color: rgba(74, 222, 128, 0.1); font-weight:bold;}
.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 8px; font-size: 13px; color: #d4d4d4;}
.inline-input { display: flex; align-items: center; gap: 10px; }
.inline-input input { margin-bottom: 0; flex: 1;}
.domain-preview, .prefix { color: #888; font-size: 14px; }
.btn-submit { background-color: #4ade80; color: #111; border: none; padding: 12px 30px; font-weight: bold; border-radius: 6px; cursor: pointer; font-size: 14px; transition: opacity 0.2s; }
.btn-submit:hover { opacity: 0.9; }
.btn-submit[disabled] { background: #444; color:#888; cursor:not-allowed;}
.btn-action { display:inline-block; padding:8px 12px; border-radius:4px; text-decoration:none; font-size:12px; margin-right:5px; font-weight:bold;}
.btn-danger { background:#ef4444; color:#fff; }
.btn-success { background:#22c55e; color:#fff; }
.alert { padding: 15px; border-radius: 6px; margin-bottom: 20px; font-size:14px; }
.alert-success { background-color: rgba(74, 222, 128, 0.15); color: #4ade80; border: 1px solid #4ade80; }
.alert-danger { background-color: rgba(244, 63, 94, 0.15); color: #f43f5e; border: 1px solid #f43f5e; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { padding: 15px; text-align: left; border-bottom: 1px solid #2d2d2d; color: #888; font-size: 12px; text-transform: uppercase; background:#1a1a1a; }
.data-table td { padding: 15px; border-bottom: 1px solid #2d2d2d; vertical-align: middle; font-size:14px; }
.link-url { color: #f43f5e; font-weight: bold; font-size: 14px; margin-bottom: 5px;}
.link-meta { color: #666; font-size: 11px; }
.stat-number { color: #fff; font-size: 13px;}
.stat-number strong { font-size: 15px; color:#8ab4f8;}
.stat-ip { color: #f59e0b; font-size: 12px; font-weight: bold; margin-top:3px;}
.login-box { background: #1e1e1e; padding: 40px; border-radius: 8px; width: 350px; border: 1px solid #2d2d2d; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.login-box h2 { color: #4ade80; text-align: center; margin-top: 0; margin-bottom: 25px; }
.text-center { text-align: center; margin-top: 20px; font-size: 13px; }
.text-center a { color: #8ab4f8; text-decoration: none; font-weight:bold;}
