/**
 * Product Manager - Styles
 */

/* General app styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

/* Loading indicator */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50vh;
}

/* Theme toggle styles */
.theme-toggle-icon {
    transition: transform 0.3s ease;
}

.theme-toggle-icon--dark {
    transform: rotate(180deg);
}

/* Header and navigation styles */
.v-app-bar-title {
    font-weight: 500 !important;
}

/* Tables and cards */
.v-data-table td {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Currency symbol display */
.currency-symbol {
    font-weight: bold;
    font-size: 1.1em;
}

/* Price display */
.price-display {
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
}

/* Status chips */
.status-chip {
    font-weight: 500 !important;
}

/* Schema and code editors */
.font-monospace {
    font-family: 'Roboto Mono', monospace !important;
}

pre.font-monospace {
    white-space: pre-wrap;
    word-wrap: break-word;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

/* Form styling */
.v-text-field .v-field {
    border-radius: 4px;
}

.v-textarea .v-field {
    border-radius: 4px;
}

/* Dialog styling */
.v-dialog > .v-overlay__content {
    margin: 24px;
}

/* Card enhancements */
.v-card {
    border-radius: 8px !important;
}

.v-card-title {
    font-weight: 500 !important;
    padding-bottom: 8px !important;
}

/* Table enhancements */
.v-data-table-header th {
    font-weight: 600 !important;
    background-color: rgba(0, 0, 0, 0.02) !important;
}

/* Action buttons */
.action-btn {
    margin-right: 4px;
}

.action-btn:last-child {
    margin-right: 0;
}

/* Product feature status */
.feature-active {
    color: success;
}

.feature-inactive {
    color: warning;
}

/* Pricing plan date display */
.date-range {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
}

/* Order status */
.order-status {
    text-transform: capitalize;
}

/* Relationship badges */
.relationship-badge {
    margin: 2px;
}

/* Empty state styling */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: rgba(0, 0, 0, 0.6);
}

.empty-state .v-icon {
    margin-bottom: 16px;
    opacity: 0.6;
}

/* Section headers */
.section-header {
    margin-bottom: 24px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.section-subtitle {
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 16px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .v-data-table td {
        max-width: 200px;
    }
    
    .action-btn {
        min-width: auto;
    }
    
    .v-card {
        margin: 8px;
    }
}

/* Dark theme adjustments */
.v-theme--dark {
    .v-data-table-header th {
        background-color: rgba(255, 255, 255, 0.05) !important;
    }
    
    pre.font-monospace {
        background-color: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.12);
    }
    
    .date-range {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .empty-state {
        color: rgba(255, 255, 255, 0.6);
    }
    
    .section-subtitle {
        color: rgba(255, 255, 255, 0.6);
    }
}

/* Animation enhancements */
.v-card {
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.v-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.v-btn {
    transition: all 0.2s ease;
}

/* Custom scrollbar for webkit browsers */
.v-data-table::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.v-data-table::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.v-data-table::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.v-data-table::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}