/* Overdoz Bot Pages - Minimalistic Black Theme */

/* ============================================
   Base Styles
   ============================================ */
.bot-page {
    min-height: 100vh;
    background: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   Navigation
   ============================================ */
.bot-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 32px;
    background: #000000;
    border-bottom: 1px solid #1f1f1f;
    z-index: 999;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #1f1f1f;
}

.nav-logo-spacer {
    flex: 1;
}

.nav-links {
    display: flex;
    gap: 4px;
}

.nav-links a {
    padding: 8px 16px;
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: #141414;
}

.nav-links a.active {
    color: #ffffff;
    background: #1f1f1f;
}

/* ============================================
   Bot Info Page - Hero
   ============================================ */
.bot-hero {
    padding: 120px 32px 60px;
    text-align: center;
    border-bottom: 1px solid #1f1f1f;
}

.bot-avatar-container {
    margin-bottom: 24px;
}

.bot-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #1f1f1f;
}

/* SVG avatar styling */
svg.bot-avatar {
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    stroke: white;
}

.bot-name {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.bot-tagline {
    color: #a1a1aa;
    font-size: 1rem;
    margin-bottom: 32px;
}

/* Stats */
.bot-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 32px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.stat-label {
    font-size: 0.8rem;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ============================================
   Features Section
   ============================================ */
.bot-features {
    padding: 60px 32px;
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.feature-card {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 24px;
    transition: border-color 0.2s ease;
}

.feature-card:hover {
    border-color: #3f3f46;
}

.feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.feature-desc {
    color: #a1a1aa;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================================
   CTA Section
   ============================================ */
.bot-cta {
    padding: 60px 32px;
    text-align: center;
    border-top: 1px solid #1f1f1f;
}

.cta-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.cta-desc {
    color: #a1a1aa;
    margin-bottom: 24px;
}

.cta-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1f1f1f;
    border: 1px solid #3f3f46;
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background: #292929;
    border-color: #52525b;
}

/* ============================================
   Legal Pages
   ============================================ */
.legal-main {
    padding: 100px 32px 60px;
    max-width: 720px;
    margin: 0 auto;
}

.legal-hero {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid #1f1f1f;
}

.legal-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.legal-updated {
    color: #52525b;
    font-size: 0.85rem;
}

/* Legal Sections */
.legal-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.legal-section {
    padding-bottom: 32px;
    border-bottom: 1px solid #141414;
}

.legal-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.section-number {
    font-size: 0.75rem;
    color: #52525b;
    font-weight: 600;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

.section-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.section-body {
    color: #a1a1aa;
    line-height: 1.7;
    font-size: 0.95rem;
}

.section-body p {
    margin-bottom: 12px;
}

.section-body p:last-child {
    margin-bottom: 0;
}

.section-body a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.section-body a:hover {
    color: #a1a1aa;
}

/* Feature Lists */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    color: #a1a1aa;
    font-size: 0.95rem;
}

.feature-list li + li {
    border-top: 1px solid #0f0f0f;
}

.list-icon {
    color: #52525b;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list strong {
    color: #ffffff;
}

/* Data Categories */
.data-category {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 20px;
    margin: 16px 0;
}

.data-category h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #ffffff;
}

.data-category .feature-list {
    margin: 0;
}

.data-category .feature-list li {
    border-color: #141414;
}

/* Highlight Box */
.highlight-box {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 16px 0;
}

.highlight-box p {
    margin: 0 !important;
    color: #ffffff;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.right-item {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 16px;
}

.right-name {
    display: block;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.right-desc {
    font-size: 0.8rem;
    color: #52525b;
}

/* Navigation Buttons */
.legal-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #1f1f1f;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nav-button:hover {
    border-color: #3f3f46;
    color: #ffffff;
}

.nav-button.primary {
    background: #1f1f1f;
    color: #ffffff;
}

.nav-button.primary:hover {
    background: #292929;
}

.btn-icon {
    font-size: 1rem;
}

/* ============================================
   Footer
   ============================================ */
.bot-footer {
    text-align: center;
    padding: 32px;
    border-top: 1px solid #1f1f1f;
    color: #52525b;
    font-size: 0.85rem;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 640px) {
    .bot-nav {
        padding: 0 16px;
    }
    
    .nav-logo span {
        display: none;
    }
    
    .bot-hero {
        padding: 100px 16px 40px;
    }
    
    .bot-name {
        font-size: 1.5rem;
    }
    
    .bot-stats {
        gap: 24px;
    }
    
    .bot-features {
        padding: 40px 16px;
    }
    
    .legal-main {
        padding: 80px 16px 40px;
    }
    
    .legal-title {
        font-size: 1.5rem;
    }
    
    .rights-grid {
        grid-template-columns: 1fr;
    }
    
    .legal-nav-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-button {
        justify-content: center;
    }
}

/* ============================================
   Discord Auth Button
   ============================================ */
.discord-auth {
    background: #5865F2 !important;
    border-color: #5865F2 !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.discord-auth:hover {
    background: #4752c4 !important;
    border-color: #4752c4 !important;
}

.discord-auth svg {
    flex-shrink: 0;
}

/* ============================================
   Dashboard Styles
   ============================================ */
.dashboard-page {
    padding-top: 60px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid #1f1f1f;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.dashboard-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-user img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #1f1f1f;
}

.dashboard-user span {
    color: #a1a1aa;
    font-size: 0.9rem;
}

.dashboard-nav {
    display: flex;
    gap: 4px;
    padding: 16px 32px;
    border-bottom: 1px solid #1f1f1f;
    overflow-x: auto;
}

.dashboard-nav a {
    padding: 10px 20px;
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.dashboard-nav a:hover {
    color: #ffffff;
    background: #141414;
}

.dashboard-nav a.active {
    color: #ffffff;
    background: #1f1f1f;
}

.dashboard-content {
    padding: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

.dashboard-section {
    margin-bottom: 48px;
}

.dashboard-section-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #52525b;
    margin-bottom: 16px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.stat-card {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 24px;
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-card-label {
    font-size: 0.85rem;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card-change {
    font-size: 0.8rem;
    margin-top: 8px;
}

.stat-card-change.positive {
    color: #22c55e;
}

.stat-card-change.negative {
    color: #ef4444;
}

/* Activity List */
.activity-list {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    overflow: hidden;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #141414;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1f1f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #52525b;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.activity-info {
    flex: 1;
    min-width: 0;
}

.activity-name {
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2px;
}

.activity-detail {
    font-size: 0.85rem;
    color: #52525b;
}

.activity-time {
    font-size: 0.8rem;
    color: #52525b;
    white-space: nowrap;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px;
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.quick-action:hover {
    border-color: #3f3f46;
    color: #ffffff;
}

.quick-action svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
}

/* Data Table */
.data-table {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #141414;
}

.data-table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #52525b;
    background: #0d0d0d;
}

.data-table td {
    font-size: 0.9rem;
    color: #a1a1aa;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: #0d0d0d;
}

/* Console/Log Output */
.console-output {
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 16px;
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 0.85rem;
    color: #a1a1aa;
    max-height: 400px;
    overflow-y: auto;
}

.console-line {
    padding: 4px 0;
    border-bottom: 1px solid #141414;
}

.console-line:last-child {
    border-bottom: none;
}

.console-time {
    color: #52525b;
    margin-right: 12px;
}

.console-level-info {
    color: #3b82f6;
}

.console-level-warn {
    color: #eab308;
}

.console-level-error {
    color: #ef4444;
}

.console-level-success {
    color: #22c55e;
}

/* Dashboard Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .dashboard-content {
        padding: 16px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
}
