
/* Frontier Technologies Module Styles */

/* Filter Bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: #333;
}

.filter-group select, 
.filter-group input {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 5px;
}

.price-inputs input {
    width: 80px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal__content {
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
}

.modal__close:hover {
    color: #333;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
    margin-top: 20px;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #666;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-btn.active {
    color: var(--c-primary, #0056b3);
    border-bottom-color: var(--c-primary, #0056b3);
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Detail Rows */
.detail-row {
    margin-bottom: 12px;
    line-height: 1.6;
}

.detail-row strong {
    display: inline-block;
    width: 100px;
    color: #555;
}

/* Price Table */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.price-table th, 
.price-table td {
    padding: 10px;
    border: 1px solid #eee;
    text-align: left;
}

.price-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.insurance-note {
    margin-top: 15px;
    padding: 10px;
    background: #fff8e1;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #856404;
}

.badge-status {
    background: #e3f2fd;
    color: #0d47a1;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}
