/* Version Information Styles */
.version-display {
    margin-top: 1rem;
}

.version-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.version-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
}

.version-label {
    font-weight: 500;
    color: #64748b;
    font-size: 0.9rem;
}

.version-value {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.plan-selection {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

/* Pricing Plan Styles */
.pricing-plan-selector {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.pricing-card {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    flex: 1;
    min-width: 200px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.pricing-card:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.pricing-card.selected {
    border-color: #007bff;
    background: #f0f8ff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.pricing-card h4 {
    margin: 0 0 0.5rem 0;
    color: #1f2937;
    font-size: 1.1rem;
}

.pricing-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    margin: 0.5rem 0;
}

.pricing-card .plan-features {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.pricing-card .plan-features li {
    padding: 0.25rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.pricing-card .plan-features li:last-child {
    border-bottom: none;
}

.plan-card {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    flex: 1;
    min-width: 280px;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
}

.plan-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.plan-card.selected {
    border-color: #3b82f6;
    background-color: #eff6ff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.plan-card h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-weight: 600;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    text-align: left;
}

.plan-features li {
    padding: 0.25rem 0;
    color: #64748b;
    font-size: 0.9rem;
}

.plan-features li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 0.5rem;
}

.plan-select-btn {
    background: transparent;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-select-btn:hover {
    background: #3b82f6;
    color: white;
}

.plan-card.selected .plan-select-btn {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid #6b7280;
    color: #6b7280;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #6b7280;
    color: white;
}

@media (max-width: 768px) {
    .plan-selection {
        flex-direction: column;
    }
    .plan-card {
        min-width: 100%;
    }
}

/* Resource Usage Styles */
.resource-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.resource-item {
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
}

.resource-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.resource-label {
    font-weight: 600;
    color: #374151;
}

.resource-plan {
    background: #3b82f6;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.resource-bar {
    width: 100%;
    height: 8px;
    background-color: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.resource-progress {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #f59e0b 70%, #ef4444 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.resource-progress[style*="width: 8"], .resource-progress[style*="width: 9"] {
    background: #ef4444 !important;
}

.resource-details {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6b7280;
}

.upgrade-suggestion {
    margin-top: 1rem;
}

.upgrade-suggestion .alert {
    background: #fffbeb;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 1rem;
}

.upgrade-suggestion h5 {
    color: #92400e;
    margin: 0 0 0.5rem 0;
}

.upgrade-suggestion p {
    color: #78350f;
    margin: 0 0 1rem 0;
}

@media (min-width: 768px) {
    .resource-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}