@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
body { background-color: #09090b; color: #fff; padding-bottom: 50px; }

/* Header */
.header { display: flex; justify-content: space-between; align-items: center; padding: 20px; }
.header-left { display: flex; align-items: center; gap: 15px; }
.menu-btn, .profile-btn { background: #18181b; border: 1px solid #27272a; padding: 12px; border-radius: 12px; color: #ef4444; font-size: 18px; cursor: pointer; }
.welcome-text { font-size: 12px; color: #a1a1aa; }
.username { font-size: 20px; font-weight: 800; }
.online-badge { background: rgba(16, 185, 129, 0.1); color: #10b981; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 6px; border: 1px solid rgba(16, 185, 129, 0.2); }
.online-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; }

/* Page Title */
.page-title { font-size: 32px; font-weight: 800; padding: 0 20px 20px 20px; }

/* Cards */
.card { background: #121214; border: 1px solid #27272a; border-radius: 20px; padding: 20px; margin: 0 20px 20px 20px; position: relative; overflow: hidden; }
.card-glow { position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, #ef4444, transparent); }
.card-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; border-bottom: 1px solid #27272a; padding-bottom: 15px; }
.card-icon { width: 45px; height: 45px; border-radius: 12px; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); display: flex; justify-content: center; align-items: center; color: #ef4444; font-size: 20px; }
.card-title { font-size: 20px; font-weight: 700; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; color: #a1a1aa; margin-bottom: 8px; }
.input-wrapper { position: relative; }
.input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #ef4444; font-size: 18px; }
.form-control { width: 100%; background: #1c1c1f; border: 1px solid #27272a; color: #fff; padding: 16px 16px 16px 45px; border-radius: 12px; font-size: 15px; outline: none; transition: 0.3s; }
.form-control:focus { border-color: #ef4444; }
select.form-control { appearance: none; cursor: pointer; }

/* Buttons */
.btn { width: 100%; background: #ef4444; color: #fff; border: none; padding: 16px; border-radius: 50px; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 0 20px rgba(239, 68, 68, 0.4); transition: 0.3s; text-transform: uppercase; }
.btn:hover { background: #dc2626; box-shadow: 0 0 30px rgba(239, 68, 68, 0.6); }
.btn:active { transform: scale(0.98); }

/* Tabs */
.tabs { display: flex; gap: 10px; padding: 0 20px 20px 20px; }
.tab-btn { flex: 1; background: #121214; color: #a1a1aa; border: 1px solid #27272a; padding: 12px; border-radius: 12px; font-weight: 600; cursor: pointer; }
.tab-btn.active { background: #ef4444; color: #fff; border-color: #ef4444; }

/* Key List */
.key-item { margin-bottom: 15px; }
.key-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.key-code { font-size: 18px; font-weight: 800; letter-spacing: 1px; }
.badge-active { background: rgba(16, 185, 129, 0.1); color: #10b981; padding: 4px 10px; border-radius: 20px; font-size: 12px; border: 1px solid rgba(16, 185, 129, 0.2); }
.badge-expired { background: rgba(239, 68, 68, 0.1); color: #ef4444; padding: 4px 10px; border-radius: 20px; font-size: 12px; border: 1px solid rgba(239, 68, 68, 0.2); }
.key-details { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #27272a; font-size: 14px; color: #a1a1aa; }
.key-details:last-child { border-bottom: none; }
.key-value { color: #fff; font-weight: 600; }
.pill { background: #1c1c1f; padding: 6px 12px; border-radius: 20px; font-size: 13px; display: inline-block; margin-bottom: 15px; border: 1px solid #27272a; }

/* Alerts */
.alert { padding: 15px; border-radius: 10px; margin: 0 20px 20px 20px; font-size: 14px; }
.alert-success { background: rgba(16, 185, 129, 0.1); border: 1px solid #10b981; color: #10b981; }
.alert-danger { background: rgba(239, 68, 68, 0.1); border: 1px solid #ef4444; color: #ef4444; }