/* Dashboard Specific Styles */

/* Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 30px;
}

.dashboard-card {
    background-color: #1a2234;
    border: 1px solid #2d3748;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.dashboard-card h2 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #2d3748;
}

/* Full Width Card */
.full-width {
    grid-column: 1 / -1;
}

/* Pre-Order Status Section */
.metric-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background-color: #1f2937;
    padding: 15px;
    border-radius: 6px;
}

.metric-label {
    font-size: 1rem;
    color: #d1d5db;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.progress-container {
    margin-bottom: 20px;
}

.progress-label {
    font-size: 0.9rem;
    color: #d1d5db;
    margin-bottom: 5px;
}

.progress-bar {
    height: 10px;
    background-color: #1f2937;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background-color: #10b981;
    border-radius: 5px;
}

.progress-value {
    text-align: right;
    font-size: 0.9rem;
    color: #10b981;
    font-weight: bold;
}

.city-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.city-metric {
    background-color: #1f2937;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
}

.city-name {
    font-size: 0.9rem;
    color: #d1d5db;
    margin-bottom: 5px;
}

.city-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffffff;
}

/* Financial Metrics Section */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.metric-box {
    background-color: #1f2937;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.metric-title {
    font-size: 0.9rem;
    color: #d1d5db;
    margin-bottom: 8px;
}

.highlight-green {
    color: #10b981;
}

.highlight-blue {
    color: #3b82f6;
}

.highlight-orange {
    color: #f59e0b;
}

.highlight-purple {
    color: #8b5cf6;
}

/* Document List Section */
.document-list {
    margin-bottom: 20px;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #1f2937;
    border-radius: 6px;
    margin-bottom: 10px;
}

.document-name {
    font-size: 1rem;
    color: #ffffff;
}

.document-actions {
    display: flex;
    gap: 10px;
}

/* Technology List Section */
.technology-list {
    margin-bottom: 20px;
}

.technology-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #1f2937;
    border-radius: 6px;
    margin-bottom: 10px;
}

.technology-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.technology-icon.zinc {
    background-color: #6b7280;
}

.technology-icon.sodium {
    background-color: #3b82f6;
}

.technology-icon.swap {
    background-color: #10b981;
}

.technology-icon.solar {
    background-color: #f59e0b;
}

.technology-name {
    font-size: 1rem;
    color: #ffffff;
}

/* Assets Grid Section */
.assets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.asset-item {
    background-color: #1f2937;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
}

.asset-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
}

.asset-item p {
    color: #d1d5db;
    margin-bottom: 15px;
}

.asset-item.total {
    background-color: #2563eb;
}

.total-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

/* Card Actions */
.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.link-secondary {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.link-secondary:hover {
    color: #d1d5db;
    text-decoration: underline;
}

/* Responsive Styles for Dashboard */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid, .city-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .metrics-grid, .city-metrics, .assets-grid {
        grid-template-columns: 1fr;
    }
    
    .card-actions {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .document-item, .technology-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .document-actions {
        width: 100%;
        justify-content: space-between;
    }
}
