/* ASI Motherboard System - Luxury Premium CSS
 * Version: 1.0.0
 * $400 Billion Valuation
 */

/* Base Styles */
:root {
    --gold: #FFD700;
    --gold-light: rgba(255, 215, 0, 0.1);
    --gold-medium: rgba(255, 215, 0, 0.5);
    --dark: #121212;
    --dark-light: #1E1E1E;
    --dark-medium: #2A2A2A;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark);
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-top: 0;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    text-decoration: none;
}

/* Layout */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background-color: var(--dark-light);
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    border-right: 1px solid rgba(255, 215, 0, 0.1);
}

.dashboard-content {
    flex: 1;
    margin-left: 280px;
    padding: 20px;
    min-height: 100vh;
}

/* Sidebar */
.sidebar-header {
    padding: 0 20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.sidebar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--gold);
    display: block;
    margin-bottom: 5px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    margin-bottom: 5px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    border-left-color: var(--gold);
}

.sidebar-link.active {
    color: var(--gold);
    background-color: rgba(255, 215, 0, 0.1);
    border-left-color: var(--gold);
}

.sidebar-icon {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.sidebar-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

/* Cards */
.card {
    background-color: var(--dark-light);
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.card-luxury {
    background-color: var(--dark-light);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.card-header {
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    padding: 15px 20px;
}

.card-title {
    color: var(--gold);
    margin-bottom: 0;
}

.card-body {
    padding: 20px;
}

/* Buttons */
.btn {
    border-radius: 5px;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--dark);
}

.btn-gold:hover {
    background-color: #E5C100;
    border-color: #E5C100;
    color: var(--dark);
}

.btn-outline-gold {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--dark);
}

/* Forms */
.form-control {
    background-color: var(--dark-medium);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
}

.form-control:focus {
    background-color: var(--dark-medium);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.form-control-luxury {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.2);
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
}

.form-control-luxury:focus {
    background-color: rgba(0, 0, 0, 0.3);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

/* Tables */
.table {
    color: #fff;
    margin-bottom: 0;
}

.table-luxury {
    color: #fff;
    margin-bottom: 0;
}

.table-luxury thead th {
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    border-top: none;
    color: var(--gold);
    font-weight: 600;
    padding: 15px 20px;
}

.table-luxury td {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    vertical-align: middle;
}

.table-luxury tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

/* Progress Bars */
.progress {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 8px;
    margin-bottom: 5px;
}

.progress-bar {
    border-radius: 10px;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
}

.badge-success {
    background-color: var(--success);
}

.badge-warning {
    background-color: var(--warning);
    color: var(--dark);
}

.badge-danger {
    background-color: var(--danger);
}

/* Metrics */
.metric-card {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    height: 100%;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.metric-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 20px;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.metric-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 10px;
}

.metric-trend {
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metric-trend.up {
    color: var(--success);
}

.metric-trend.down {
    color: var(--danger);
}

.metric-trend i {
    margin-right: 5px;
}

/* Dashboard Stats */
.dashboard-stat {
    background-color: var(--dark-light);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.dashboard-stat-luxury {
    background-color: var(--dark-light);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.dashboard-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 5px;
}

.dashboard-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 10px;
}

.dashboard-stat-trend {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-stat-trend.up {
    color: var(--success);
}

.dashboard-stat-trend.down {
    color: var(--danger);
}

.dashboard-stat-icon {
    margin-right: 5px;
}

/* Industry Header */
.industry-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: 40px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.industry-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 10px;
}

.industry-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.industry-nav {
    display: flex;
    margin-bottom: 0;
}

.industry-nav-item {
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 20px;
    border-bottom: 2px solid transparent;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.industry-nav-item:hover {
    color: #fff;
    border-bottom-color: rgba(255, 215, 0, 0.5);
}

.industry-nav-item.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

/* Chat */
.chat-container {
    display: flex;
    flex-direction: column;
}

.chat-message {
    margin-bottom: 15px;
    max-width: 80%;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message.system {
    align-self: flex-start;
}

.chat-message-content {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-message.user .chat-message-content {
    background-color: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.2);
}

.chat-message-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
    text-align: right;
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    border-left: 4px solid var(--gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Dialogs */
.export-dialog,
.history-dialog,
.settings-dialog,
.deployment-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.export-dialog-content,
.history-dialog-content,
.settings-dialog-content,
.deployment-dialog-content {
    background-color: var(--dark-light);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 30px;
    width: 500px;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.export-options {
    margin: 20px 0;
}

.export-option {
    margin-bottom: 10px;
}

.export-actions,
.history-actions,
.settings-actions,
.deployment-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.export-actions button,
.history-actions button,
.settings-actions button,
.deployment-actions button {
    margin-left: 10px;
}

.settings-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.settings-tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.settings-tab:hover {
    color: var(--gold);
}

.settings-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.settings-section {
    display: none;
}

.settings-section.active {
    display: block;
}

.history-list {
    margin-bottom: 20px;
}

.history-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.history-item:last-child {
    border-bottom: none;
}

.history-item-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.history-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.history-item-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Upload Area */
.upload-area {
    border: 2px dashed rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: rgba(255, 215, 0, 0.5);
}

.upload-status {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .sidebar {
        width: 240px;
    }
    
    .dashboard-content {
        margin-left: 240px;
    }
}

@media (max-width: 767.98px) {
    .sidebar {
        width: 0;
        transform: translateX(-100%);
        transition: all 0.3s ease;
    }
    
    .sidebar.show {
        width: 240px;
        transform: translateX(0);
    }
    
    .dashboard-content {
        margin-left: 0;
    }
    
    .industry-nav {
        flex-wrap: wrap;
    }
    
    .industry-nav-item {
        margin-bottom: 10px;
    }
}

/* Industry-specific themes */
.healthcare-theme {
    /* Healthcare theme styles */
}

.finance-theme {
    /* Finance theme styles */
}

.retail-theme {
    /* Retail theme styles */
}

.transportation-theme {
    /* Transportation theme styles */
}

.media-theme {
    /* Media theme styles */
}

.energy-theme {
    /* Energy theme styles */
}

.manufacturing-theme {
    /* Manufacturing theme styles */
}

.mining-theme {
    /* Mining theme styles */
}

.hospitality-theme {
    /* Hospitality theme styles */
}

.agriculture-theme {
    /* Agriculture theme styles */
}

.education-theme {
    /* Education theme styles */
}

.healthcare-pharma-theme {
    /* Healthcare & Pharma theme styles */
}

.logistics-theme {
    /* Logistics theme styles */
}

.construction-theme {
    /* Construction theme styles */
}

.telecommunications-theme {
    /* Telecommunications theme styles */
}

.automotive-theme {
    /* Automotive theme styles */
}

.aerospace-theme {
    /* Aerospace theme styles */
}

.defense-theme {
    /* Defense theme styles */
}

.insurance-theme {
    /* Insurance theme styles */
}

.real-estate-theme {
    /* Real Estate theme styles */
}

.legal-theme {
    /* Legal theme styles */
}

.government-theme {
    /* Government theme styles */
}

.cybersecurity-theme {
    /* Cybersecurity theme styles */
}

.biotechnology-theme {
    /* Biotechnology theme styles */
}

.pharmaceutical-theme {
    /* Pharmaceutical theme styles */
}

.aviation-theme {
    /* Aviation theme styles */
}

.environmental-theme {
    /* Environmental theme styles */
}

.food-beverage-theme {
    /* Food & Beverage theme styles */
}

.fashion-apparel-theme {
    /* Fashion & Apparel theme styles */
}

.entertainment-theme {
    /* Entertainment theme styles */
}

.gaming-theme {
    /* Gaming theme styles */
}

.sports-theme {
    /* Sports theme styles */
}

.financial-services-theme {
    /* Financial Services theme styles */
}

.space-theme {
    /* Space theme styles */
}

.renewable-energy-theme {
    /* Renewable Energy theme styles */
}

.healthcare-devices-theme {
    /* Healthcare Devices theme styles */
}

.robotics-theme {
    /* Robotics theme styles */
}

.oil-gas-theme {
    /* Oil & Gas theme styles */
}

.chemicals-theme {
    /* Chemicals theme styles */
}

.utilities-theme {
    /* Utilities theme styles */
}

.maritime-theme {
    /* Maritime theme styles */
}

.public-services-theme {
    /* Public Services theme styles */
}

.consulting-theme {
    /* Consulting theme styles */
}

.consumer-goods-theme {
    /* Consumer Goods theme styles */
}

.textiles-theme {
    /* Textiles theme styles */
}

.electronics-theme {
    /* Electronics theme styles */
}

/* Utility Classes */
.text-gold {
    color: var(--gold) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

.mr-1 {
    margin-right: 0.25rem !important;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.p-0 {
    padding: 0 !important;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

.d-flex {
    display: flex !important;
}

.flex-column {
    flex-direction: column !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.align-items-center {
    align-items: center !important;
}

.btn-block {
    display: block;
    width: 100%;
}

.rounded-circle {
    border-radius: 50% !important;
}

.small {
    font-size: 80%;
}

/* Grid System */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-3, .col-md-4, .col-md-6, .col-md-8, .col-md-12 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
    
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .col-md-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }
    
    .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Chart Container */
.chart-container {
    position: relative;
    margin: auto;
    height: 300px;
    width: 100%;
}
