* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
  background: #00ff88;  /* highlight color */
  color: #fff;       /* text color */
}

.selectable {
    user-select: text;
    /* Enable selection on this element */
}

.no-select {
    /*user-select: none;*/
    /*-webkit-user-drag: none;*/
}

.no-select img {
    /*pointer-events: none;*/
    /*-webkit-user-drag: none;*/
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #fff;
    overflow-x: hidden;
    user-select: none;
    -webkit-user-drag: none;
}

.dashboard {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 260px;
    background: #111;
    border-right: 1px solid #222;
    padding: 20px 0;
    overflow-y: auto;
}

.logo-dashboard {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    border-radius: 8px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
}

.nav-section {
    margin-bottom: 30px;
}

.nav-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #666;
    padding: 0 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #ccc;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: #1a1a1a;
    color: #fff;
}

.nav-item.active {
    background: #1a1a1a;
    color: #00ff88;
    border-left-color: #00ff88;
}

.nav-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content {
    flex: 1;
    background: #0a0a0a;
    overflow-y: auto;
    height: 100vh;
}

.header {
    height: 73px;
    padding: 20px 40px;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    /* background-color: #0a0a0a4d; */
    backdrop-filter: blur(5px);
    z-index: 999;
}

.header-title {
    font-size: 24px;
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #00ff88;
    color: #000;
}

.btn-primary:hover {
    background: #00cc6a;
}

.btn-secondary {
    background: #333;
    color: #fff;
    border: 1px solid #444;
}

.btn-secondary:hover {
    background: #444;
}

.content {
    padding: 30px;
    max-width: 1320px;
    margin: 0 auto;
    padding-top: 124px;
    /*height: calc(100vh - 73px);*/
}

.card {
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #222;
}

.table th {
    background: #0a0a0a;
    color: #888;
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tr:hover {
    background: #1a1a1a;
}

.status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status.active {
    background: #00ff8820;
    color: #00ff88;
}

.status.inactive {
    background: #ff444420;
    color: #ff4444;
}

.status.pending {
    background: #ffaa0020;
    color: #ffaa00;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ccc;
}

.form-input {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.form-input:focus {
    outline: none;
    border-color: #00ff88;
}

.form-select {
    width: 100%;
    padding: 12px;
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.metric-card {
    background: linear-gradient(135deg, #111, #1a1a1a);
    border: 1px solid #222;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    color: #00ff88;
    margin-bottom: 8px;
}

.metric-label {
    color: #888;
    font-size: 14px;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.search-bar {
    background: #222;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
    width: 300px;
}

.search-bar input {
    background: none;
    border: none;
    color: #fff;
    outline: none;
    width: 100%;
}

.search-bar input::placeholder {
    color: #666;
}

.actions-cell {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.action-btn.edit {
    background: #00ff8820;
    color: #00ff88;
}

.action-btn.delete {
    background: #ff444420;
    color: #ff4444;
}

.action-btn:hover {
    opacity: 0.8;
}

.domain-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.domain-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.domain-indicator.active {
    background: #00ff88;
}

.domain-indicator.inactive {
    background: #ff4444;
}

.domain-indicator.pending {
    background: #ffaa00;
}

#nprogress .bar {
    background: #00ff88 !important;
}