﻿

/* Main container */
.simulation-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header */
.simulation-header {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    color: white;
    padding: 1.5rem;style="color:white;"
    margin-bottom: 0;
}

.simulation-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

    .simulation-title i {
        font-size: 1.8rem;
    }

.simulation-subtitle {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Parameter table */
.parameter-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 0 0 10px 10px;
    overflow: hidden;
}

    .parameter-table th {
        background-color: #f8f9fa;
        color: #2c3e50;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
        padding: 1rem 1.5rem;
        border-bottom: 2px solid #dee2e6;
        text-align: left;
    }

    .parameter-table td {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid #e9ecef;
        vertical-align: top;
    }

/* Category grouping */
.category-header {
    background-color: #e9f7fe !important;
    font-weight: 700;
    color: #0056b3;
    font-size: 1.1rem;
    border-top: 2px solid #0056b3;
}

    .category-header td {
        padding: 1.25rem 1.5rem;
    }

/* Parameter rows */
.parameter-row:hover {
    background-color: #f8f9fa;
}

.parameter-name {
    font-weight: 600;
    color: #333;
    width: 30%;
    min-width: 200px;
}

.parameter-value {
    width: 35%;
    color: #555;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.95rem;
}

.parameter-status {
    width: 20%;
    min-width: 150px;
}

/* Status indicators */
.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-valid {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-invalid {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Tooltip */
.tooltip-icon {
    color: #6c757d;
    cursor: help;
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

/* Summary section */
.summary-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 5px solid #0056b3;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.summary-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.summary-title {
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    font-family: 'Consolas', 'Monaco', monospace;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    color: white;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,86,179,0.2);
    }

.btn-secondary {
    background: #6c757d;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .parameter-table {
        display: block;
        overflow-x: auto;
    }

        .parameter-table th,
        .parameter-table td {
            min-width: 150px;
        }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Status icons */
.status-icon {
    margin-right: 0.5rem;
}