/* Cargo Enhancements UI Styles */

.cargo-enhancements-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    background: #1a1a2e;
    border: 2px solid #0f3460;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    overflow: hidden;
    color: #eee;

.cargo-enhancements-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #0f3460;
    border-bottom: 2px solid #16213e;

.cargo-enhancements-header h2 {
    margin: 0;
    color: #eee;
    font-size: 1.5em;

.close-btn {
    background: transparent;
    border: none;
    color: #eee;
    font-size: 2em;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;

.close-btn:hover {
    color: #e94560;

.cargo-enhancements-tabs {
    display: flex;
    background: #16213e;
    border-bottom: 2px solid #0f3460;
    overflow-x: auto;

.tab-btn {
    padding: 12px 20px;
    background: transparent;
    border: none;
    color: #aaa;
    cursor: pointer;
    font-size: 0.9em;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;

.tab-btn:hover {
    color: #eee;
    background: rgba(255, 255, 255, 0.05);

.tab-btn.active {
    color: #e94560;
    border-bottom-color: #e94560;
    background: rgba(233, 69, 96, 0.1);

.cargo-enhancements-content {
    padding: 20px;
    max-height: calc(80vh - 150px);
    overflow-y: auto;

.tab-content {
    display: none;

.tab-content.active {
    display: block;

/* Insurance Section */
.insurance-section {
    margin-bottom: 30px;

.insurance-section h3 {
    color: #e94560;
    margin-bottom: 15px;
    border-bottom: 2px solid #0f3460;
    padding-bottom: 10px;

.insurance-form {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;

.insurance-form label {
    color: #aaa;

.insurance-form input,
.insurance-form select {
    padding: 8px;
    background: #16213e;
    border: 1px solid #0f3460;
    color: #eee;
    border-radius: 4px;

.insurance-form button {
    grid-column: 1 / -1;
    padding: 10px;
    background: #e94560;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;

.insurance-form button:hover {
    background: #d63447;

.insured-list {
    display: grid;
    gap: 15px;

.insured-item {
    padding: 15px;
    background: #16213e;
    border: 1px solid #0f3460;
    border-radius: 4px;

.insured-item > div {
    margin-bottom: 8px;
    color: #ccc;

.insured-item button {
    margin-top: 10px;
    padding: 8px 15px;
    background: #0f3460;
    border: 1px solid #16213e;
    color: #eee;
    cursor: pointer;
    border-radius: 4px;

.insured-item button:hover {
    background: #16213e;

/* Storage Section */
.storage-section {
    margin-bottom: 30px;

.storage-section h3 {
    color: #e94560;
    margin-bottom: 15px;
    border-bottom: 2px solid #0f3460;
    padding-bottom: 10px;

.storage-form {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;

.storage-form label {
    color: #aaa;

.storage-form input {
    padding: 8px;
    background: #16213e;
    border: 1px solid #0f3460;
    color: #eee;
    border-radius: 4px;

.storage-form button {
    grid-column: 1 / -1;
    padding: 10px;
    background: #e94560;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;

.storage-list {
    display: grid;
    gap: 15px;

.storage-item {
    padding: 15px;
    background: #16213e;
    border: 1px solid #0f3460;
    border-radius: 4px;

.storage-item > div {
    margin-bottom: 8px;
    color: #ccc;

.storage-item button {
    margin-top: 10px;
    padding: 8px 15px;
    background: #0f3460;
    border: 1px solid #16213e;
    color: #eee;
    cursor: pointer;
    border-radius: 4px;

/* Reputation Section */
.reputation-section {
    margin-bottom: 30px;

.reputation-section h3 {
    color: #e94560;
    margin-bottom: 15px;
    border-bottom: 2px solid #0f3460;
    padding-bottom: 10px;

.reputation-display {
    padding: 20px;
    background: #16213e;
    border: 1px solid #0f3460;
    border-radius: 4px;

.reputation-value,
.reputation-status,
.reputation-effects {
    margin-bottom: 15px;
    font-size: 1.1em;

.status-reliable {
    color: #4ade80;

.status-blacklisted {
    color: #f87171;

.status-neutral {
    color: #94a3b8;

/* Contracts Section */
.contracts-section {
    margin-bottom: 30px;

.contracts-section h3 {
    color: #e94560;
    margin-bottom: 15px;
    border-bottom: 2px solid #0f3460;
    padding-bottom: 10px;

.contracts-list {
    display: grid;
    gap: 15px;

.contract-item {
    padding: 15px;
    background: #16213e;
    border: 1px solid #0f3460;
    border-radius: 4px;

.contract-item.completed {
    opacity: 0.6;

.contract-item > div {
    margin-bottom: 8px;
    color: #ccc;

.contract-item button {
    margin-top: 10px;
    padding: 8px 15px;
    background: #0f3460;
    border: 1px solid #16213e;
    color: #eee;
    cursor: pointer;
    border-radius: 4px;

/* Routes Section */
.routes-section {
    margin-bottom: 30px;

.routes-section h3 {
    color: #e94560;
    margin-bottom: 15px;
    border-bottom: 2px solid #0f3460;
    padding-bottom: 10px;

.routes-list {
    display: grid;
    gap: 15px;

.route-item {
    padding: 15px;
    background: #16213e;
    border: 1px solid #0f3460;
    border-radius: 4px;

.route-item > div {
    margin-bottom: 8px;
    color: #ccc;

.route-item button {
    margin-top: 10px;
    padding: 8px 15px;
    background: #0f3460;
    border: 1px solid #16213e;
    color: #eee;
    cursor: pointer;
    border-radius: 4px;

/* Market Section */
.market-section {
    margin-bottom: 30px;

.market-section h3 {
    color: #e94560;
    margin-bottom: 15px;
    border-bottom: 2px solid #0f3460;
    padding-bottom: 10px;

.market-section > button {
    margin-bottom: 20px;
    padding: 10px 20px;
    background: #e94560;
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;

.market-list {
    display: grid;
    gap: 15px;

.market-item {
    padding: 15px;
    background: #16213e;
    border: 1px solid #0f3460;
    border-radius: 4px;

.market-item > div {
    margin-bottom: 8px;
    color: #ccc;

.trend-rising {
    color: #4ade80;

.trend-falling {
    color: #f87171;

.trend-stable {
    color: #94a3b8;

}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}