/* base.css - Стили для страницы боевой базы (в стиле орбитальной станции) */

.base-container {
    padding: 25px;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeIn 0.5s ease-out;
}

/* Заголовок базы */
.base-header {
    background: linear-gradient(135deg, 
        rgba(0, 243, 255, 0.15), 
        rgba(0, 255, 157, 0.1));
    border: 2px solid var(--cyber-blue);
    border-radius: 12px;
    padding: 25px 35px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.base-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 243, 255, 0.2),
        transparent
    );
    animation: scan 8s infinite;
}

.base-title {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.base-title h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--cyber-blue);
    display: flex;
    align-items: center;
    gap: 15px;
    text-shadow: 0 0 15px var(--cyber-blue);
}

.base-title h1 i {
    font-size: 2rem;
}

.base-level {
    background: rgba(0, 243, 255, 0.2);
    border: 1px solid var(--cyber-blue);
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: bold;
    color: var(--cyber-blue);
    text-shadow: 0 0 5px var(--cyber-blue);
}

.base-stats {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--cyber-blue);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-primary);
}

/* Вкладки */
.base-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.base-tab {
    padding: 12px 25px;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 6px 6px 0 0;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    border-bottom: none;
}

.base-tab:hover {
    background: rgba(0, 243, 255, 0.1);
    color: var(--cyber-blue);
    border-color: var(--cyber-blue);
}

.base-tab.active {
    background: rgba(0, 243, 255, 0.15);
    border-color: var(--cyber-blue);
    color: var(--cyber-blue);
    box-shadow: 0 -2px 10px rgba(0, 243, 255, 0.2);
}

.tab-badge {
    background: var(--cyber-blue);
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
}

.base-content {
    min-height: 500px;
}

/* Обзор (Overview) */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
}

@media (max-width: 1200px) {
    .overview-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
}

.overview-section {
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.8), 
        rgba(18, 18, 32, 0.9));
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
    backdrop-filter: blur(10px);
}

.overview-section h3 {
    color: var(--cyber-blue);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Ресурсы */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.resource-item:hover {
    background: rgba(0, 243, 255, 0.05);
    border-color: var(--cyber-blue);
    transform: translateY(-2px);
}

.resource-item.rare {
    border-left: 3px solid #9966cc;
}

.resource-item.bio {
    border-left: 3px solid #228b22;
}

.resource-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #000;
}

.resource-info {
    flex: 1;
}

.resource-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.resource-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-primary);
}

/* Статус базы */
.status-bars {
    margin-bottom: 25px;
}

.status-bar {
    margin-bottom: 15px;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.bar-fill.armor {
    background: linear-gradient(90deg, #ffaa00, #ff6600);
}

.bar-fill.shields {
    background: linear-gradient(90deg, #00aaff, #0066ff);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.quick-stat {
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.quick-stat i {
    font-size: 1.5rem;
    color: var(--cyber-blue);
    margin-bottom: 5px;
}

.quick-stat .stat-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-primary);
}

.quick-stat .stat-label {
    font-size: 0.7rem;
}

/* Модули */
.modules-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.module-item i {
    color: var(--cyber-blue);
    font-size: 1rem;
}

.module-name {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
}

.module-level {
    font-size: 0.8rem;
    color: var(--cyber-green);
    background: rgba(0, 255, 157, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

.no-modules {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-secondary);
}

.no-modules i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-muted);
    opacity: 0.5;
}

.no-modules p {
    margin-bottom: 20px;
}

/* Флот */
.fleet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.fleet-header h3 {
    color: var(--cyber-blue);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.fleet-card {
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.8), 
        rgba(18, 18, 32, 0.9));
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s;
}

.fleet-card:hover {
    border-color: var(--cyber-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    transform: translateY(-2px);
}

.fleet-card .fleet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.fleet-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.fleet-level {
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fleet-info {
    margin-bottom: 20px;
}

.fleet-ship {
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fleet-admiral {
    padding: 8px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--cyber-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.fleet-no-admiral {
    padding: 8px;
    background: rgba(255, 0, 60, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--cyber-red);
    color: var(--cyber-red);
    display: flex;
    align-items: center;
    gap: 8px;
}

.fleet-actions {
    display: flex;
    gap: 8px;
}

.fleet-actions .btn {
    flex: 1;
    justify-content: center;
    font-size: 0.8rem;
    padding: 6px 10px;
}

/* Нет флота */
.no-fleet {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.5), 
        rgba(18, 18, 32, 0.7));
    border-radius: 10px;
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.no-fleet i {
    font-size: 4rem;
    color: var(--cyber-blue);
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-fleet h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.no-fleet p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Адмиралы */
.admirals-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.admirals-header h3 {
    color: var(--cyber-blue);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admirals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.admiral-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.8), 
        rgba(18, 18, 32, 0.9));
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 10px;
    position: relative;
    transition: all 0.3s;
}

.admiral-card:hover {
    border-color: var(--cyber-blue);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.admiral-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--cyber-blue), var(--cyber-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #000;
}

.admiral-info {
    flex: 1;
}

.admiral-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
    color: var(--text-primary);
}

.admiral-level {
    font-size: 0.8rem;
    color: var(--cyber-green);
}

.admiral-race {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 3px;
}

.admiral-exp {
    font-size: 0.7rem;
    color: var(--cyber-yellow);
}

.admiral-status {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 12px;
}

.admiral-status.assigned {
    background: rgba(0, 255, 157, 0.2);
    color: var(--cyber-green);
    border: 1px solid rgba(0, 255, 157, 0.3);
}

.admiral-status.free {
    background: rgba(255, 255, 0, 0.2);
    color: var(--cyber-yellow);
    border: 1px solid rgba(255, 255, 0, 0.3);
}

/* Нет адмиралов */
.no-admirals {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.5), 
        rgba(18, 18, 32, 0.7));
    border-radius: 10px;
    border: 1px solid rgba(0, 243, 255, 0.3);
}

.no-admirals i {
    font-size: 4rem;
    color: var(--cyber-blue);
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-admirals h4 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.no-admirals p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Развитие */
.development-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 25px;
}

@media (max-width: 992px) {
    .development-grid {
        grid-template-columns: 1fr;
    }
}

.dev-section {
    background: linear-gradient(135deg, 
        rgba(26, 26, 46, 0.8), 
        rgba(18, 18, 32, 0.9));
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
}

.dev-section h4 {
    color: var(--cyber-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.level-info {
    margin-bottom: 20px;
}

.current-level {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.level-progress {
    margin-bottom: 15px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyber-blue), var(--cyber-green));
    border-radius: 4px;
}

.progress-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.dev-note {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Магазин модулей */
.modules-shop-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.module-shop-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.module-info {
    flex: 2;
}

.module-name {
    font-weight: bold;
    color: var(--text-primary);
    display: block;
    margin-bottom: 3px;
}

.module-level {
    font-size: 0.7rem;
    color: var(--cyber-blue);
    background: rgba(0, 243, 255, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
}

.module-cost {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.cost-item {
    font-size: 0.8rem;
    color: var(--cyber-yellow);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Экономика */
.resources-full-list {
    margin-bottom: 30px;
}

.resources-full-list h4 {
    color: var(--cyber-blue);
    margin-bottom: 15px;
}

.resources-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.resources-table th {
    background: rgba(0, 243, 255, 0.1);
    padding: 12px 15px;
    text-align: left;
    color: var(--cyber-blue);
    font-weight: bold;
    font-size: 0.9rem;
}

.resources-table td {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.resources-table tr:hover td {
    background: rgba(0, 243, 255, 0.05);
}

.resource-quantity {
    font-weight: bold;
    color: var(--cyber-yellow);
}

.resource-income {
    color: var(--cyber-green);
}

.owned-planets, .owned-stations {
    margin-bottom: 25px;
}

.owned-planets h4, .owned-stations h4 {
    color: var(--cyber-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.coming-soon-text {
    color: var(--text-muted);
    font-style: italic;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    text-align: center;
}

/* Заглушка "В разработке" */
.coming-soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.coming-soon i {
    font-size: 5rem;
    color: var(--cyber-blue);
    margin-bottom: 20px;
    opacity: 0.5;
}

.coming-soon h3 {
    font-size: 2rem;
    color: var(--cyber-blue);
    margin-bottom: 10px;
}

.coming-soon p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Адаптивность */
@media (max-width: 768px) {
    .base-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    
    .base-title h1 {
        font-size: 1.5rem;
    }
    
    .base-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .stat-item {
        flex: 1;
    }
    
    .base-tabs {
        flex-wrap: wrap;
    }
    
    .base-tab {
        flex: 1 1 auto;
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .fleet-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .admirals-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}
/* ===== ВОЕННЫЙ ТЕРМИНАЛ ===== */
.fleet-container {
    padding: 20px;
    background: #0a0a0a;
    border: 1px solid #333;
    font-family: 'Share Tech Mono', monospace;
}

.fleet-subtabs {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
}

.fleet-subtab {
    background: #111;
    border: 1px solid #333;
    border-bottom: none;
    color: #0af;
    padding: 10px 25px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
}

.fleet-subtab.active {
    background: #1a1a1a;
    color: #0f0;
    border-color: #0f0;
}

.fleet-subtab:hover {
    background: #222;
}

.fleet-content {
    min-height: 500px;
}

/* Военные рамки */
.mil-frame {
    border: 1px solid #333;
    background: #0f0f0f;
    margin-bottom: 15px;
    padding: 15px;
}

.mil-frame-header {
    color: #0af;
    font-size: 1.1rem;
    padding-bottom: 5px;
    border-bottom: 1px solid #333;
    letter-spacing: 2px;
}

/* Строки данных */
.mil-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #222;
}

.mil-row:hover {
    background: #1a1a1a;
}

.mil-label {
    color: #888;
    font-size: 0.9rem;
}

.mil-value {
    color: #0af;
    font-weight: bold;
}

.mil-value.warning {
    color: #ff0;
}

.mil-value.danger {
    color: #f00;
}

.mil-value.success {
    color: #0f0;
}

/* Кнопки */
.mil-action {
    background: #111;
    border: 1px solid #333;
    color: #0f0;
    padding: 5px 10px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    letter-spacing: 1px;
}

.mil-action:hover {
    border-color: #0f0;
    background: #1a1a1a;
}

.mil-action:disabled {
    color: #666;
    border-color: #333;
    cursor: not-allowed;
}

.mil-select {
    background: #111;
    border: 1px solid #333;
    color: #0af;
    padding: 3px;
    font-family: 'Share Tech Mono', monospace;
}

/* Прогресс-бары символами */
.progress-symbol {
    font-family: 'Share Tech Mono', monospace;
    color: #0f0;
    letter-spacing: 2px;
}

/* Ресурсная строка */
.resource-bar {
    margin-top: 20px;
    padding: 10px;
    background: #111;
    border: 1px solid #333;
    color: #ff0;
    text-align: right;
    font-size: 0.9rem;
}

/* Сетки */
.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* Заглушки для разработки */
.dev-placeholder {
    color: #666;
    text-align: center;
    padding: 50px;
    font-style: italic;
}
.shipyard-container .mil-frame {
    margin-bottom: 20px;
}

.shipyard-container .mil-row {
    border-bottom: none;
}
/* Ангар */
.hangar-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.hangar-fleets {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fleet-card {
    padding: 15px;
}

.fleet-ships-list {
    border-right: 1px solid #333;
    padding-right: 15px;
}

.fleet-ship-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #222;
}

.fleet-ship-row:hover {
    background: #1a1a1a;
}

.fleet-admiral-panel {
    min-height: 100%;
}

.fleet-admiral-panel .mil-action {
    margin-top: 5px;
}

/* Свободные корабли */
.free-ship-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #222;
}

.free-ship-row:hover {
    background: #1a1a1a;
}

.free-ship-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.free-ship-actions {
    display: flex;
    gap: 5px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hangar-container {
        grid-template-columns: 1fr;
    }
}
/* Новый стиль кнопок - без скобок, как вкладки */
.mil-action {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--cyber-blue);
    color: var(--cyber-blue);
    padding: 8px 15px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.mil-action:hover {
    background: rgba(0, 243, 255, 0.2);
    border-color: var(--cyber-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.mil-action:disabled {
    background: rgba(100, 100, 100, 0.1);
    border-color: #444;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.mil-action.danger {
    background: rgba(255, 0, 60, 0.1);
    border-color: var(--cyber-red);
    color: var(--cyber-red);
}

.mil-action.danger:hover {
    background: rgba(255, 0, 60, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.3);
}

.mil-action.success {
    background: rgba(0, 255, 157, 0.1);
    border-color: var(--cyber-green);
    color: var(--cyber-green);
}

/* Маленькие кнопки для действий с кораблями */
.mil-action.small {
    padding: 4px 8px;
    font-size: 0.8rem;
}
/* Развитие */
.development-container {
    padding: 10px;
}

.base-info-panel {
    background: #0f0f0f;
    border: 1px solid #333;
    padding: 20px;
}

.level-tab {
    cursor: pointer;
    transition: all 0.3s;
}

.level-tab:hover:not(.locked) {
    border-color: #0af;
    background: #222;
}

.level-tab.active {
    border-color: #0af;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.3);
}

.level-tab.locked {
    cursor: not-allowed;
    opacity: 0.5;
}

.level-modules {
    margin-top: 20px;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.module-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #111;
    border: 1px solid #333;
    transition: all 0.3s;
}

.module-card:hover {
    border-color: #0af;
    background: #1a1a1a;
}

.module-card.installed {
    border-color: #0f0;
    background: #0f1f0f;
}

.module-image {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.module-content {
    flex: 1;
}

.module-name {
    color: #0af;
    font-weight: bold;
    margin-bottom: 5px;
}

.module-description {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.module-cost {
    font-size: 0.8rem;
    color: #ff0;
}

.cost-item {
    margin-right: 10px;
}

.module-action {
    display: flex;
    align-items: center;
    min-width: 100px;
    justify-content: flex-end;
}

.installed-badge {
    color: #0f0;
    font-size: 0.8rem;
    padding: 4px 8px;
    border: 1px solid #0f0;
    background: rgba(0, 255, 0, 0.1);
}

.locked-badge {
    color: #666;
    font-size: 0.8rem;
}
.base-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.base-actions .mil-action {
    padding: 10px 20px;
    font-size: 1rem;
}

.base-actions .mil-action i {
    margin-right: 8px;
}
.base-content {
    min-height: 500px;
    transition: opacity 0.2s ease;
}

.base-content.fade {
    opacity: 0.5;
}
/* base.css - Стили для страницы боевой базы (в стиле орбитальной станции) */

/* ... (весь существующий код остается без изменений) ... */

/* ===== УВЕДОМЛЕНИЯ ===== */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 350px;
}

.notification {
    background: rgba(10, 10, 20, 0.95);
    border-width: 2px;
    border-style: solid;
    padding: 15px 25px;
    border-radius: 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    opacity: 0;
    animation: notificationSlideIn 0.3s ease-out forwards;
    display: flex;
    align-items: center;
    gap: 12px;
    border-image: none;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 243, 255, 0.2),
        transparent
    );
    animation: notificationScan 8s infinite;
}

.notification-success {
    background: rgba(10, 20, 10, 0.95);
    border-color: #0f0;
    color: #0f0;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

.notification-error {
    background: rgba(30, 10, 10, 0.95);
    border-color: #f00;
    color: #f00;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
}

.notification i {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px currentColor);
}

.notification.fade-out {
    animation: notificationSlideOut 0.3s ease-out forwards;
}

/* Анимации для уведомлений */
@keyframes notificationSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes notificationSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes notificationScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        padding: 12px 18px;
        font-size: 0.85rem;
    }
}

/* Анимация пульсации для важных уведомлений */
.notification.pulse {
    animation: notificationPulse 2s infinite;
}

@keyframes notificationPulse {
    0% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 243, 255, 0.6);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    }
}
/* base.css - Стили для страницы боевой базы (в стиле орбитальной станции) */

/* ... (весь существующий код до военных рамок остается без изменений) ... */

/* ===== ВОЕННЫЙ ТЕРМИНАЛ ===== */
.fleet-container {
    padding: 20px;
    background: #0a0a0a;
    border: 1px solid #333;
    font-family: 'Share Tech Mono', monospace;
}

.fleet-subtabs {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
}

.fleet-subtab {
    background: #111;
    border: 1px solid #333;
    border-bottom: none;
    color: #0af;
    padding: 10px 25px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.fleet-subtab.active {
    background: #1a1a1a;
    color: #0f0;
    border-color: #0f0;
}

.fleet-subtab:hover {
    background: #222;
    border-color: #0af;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.3);
}

.fleet-content {
    min-height: 500px;
}

/* Военные рамки */
.mil-frame {
    border: 1px solid #333;
    background: #0f0f0f;
    margin-bottom: 15px;
    padding: 15px;
    transition: all 0.3s;
}

.mil-frame:hover {
    border-color: #0af;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.2);
    background: #121212;
}

.mil-frame-header {
    color: #0af;
    font-size: 1.1rem;
    padding-bottom: 5px;
    border-bottom: 1px solid #333;
    letter-spacing: 2px;
}

/* Строки данных */
.mil-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #222;
    transition: all 0.2s;
}

.mil-row:hover {
    background: #1a1a1a;
    border-color: #0af;
}

.mil-label {
    color: #888;
    font-size: 0.9rem;
}

.mil-value {
    color: #0af;
    font-weight: bold;
}

.mil-value.warning {
    color: #ff0;
}

.mil-value.danger {
    color: #f00;
}

.mil-value.success {
    color: #0f0;
}

/* Кнопки */
.mil-action {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--cyber-blue);
    color: var(--cyber-blue);
    padding: 8px 15px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.mil-action:hover {
    background: rgba(0, 243, 255, 0.2);
    border-color: var(--cyber-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.mil-action:disabled {
    background: rgba(100, 100, 100, 0.1);
    border-color: #444;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.mil-action.danger {
    background: rgba(255, 0, 60, 0.1);
    border-color: var(--cyber-red);
    color: var(--cyber-red);
}

.mil-action.danger:hover {
    background: rgba(255, 0, 60, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.3);
}

.mil-action.success {
    background: rgba(0, 255, 157, 0.1);
    border-color: var(--cyber-green);
    color: var(--cyber-green);
}

.mil-action.success:hover {
    background: rgba(0, 255, 157, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

/* Маленькие кнопки для действий с кораблями */
.mil-action.small {
    padding: 4px 8px;
    font-size: 0.8rem;
}

.mil-select {
    background: #111;
    border: 1px solid #333;
    color: #0af;
    padding: 3px;
    font-family: 'Share Tech Mono', monospace;
    transition: all 0.3s;
}

.mil-select:hover {
    border-color: #0af;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.2);
}

/* Прогресс-бары символами */
.progress-symbol {
    font-family: 'Share Tech Mono', monospace;
    color: #0f0;
    letter-spacing: 2px;
}

/* Ресурсная строка */
.resource-bar {
    margin-top: 20px;
    padding: 10px;
    background: #111;
    border: 1px solid #333;
    color: #ff0;
    text-align: right;
    font-size: 0.9rem;
}

/* Сетки */
.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* Заглушки для разработки */
.dev-placeholder {
    color: #666;
    text-align: center;
    padding: 50px;
    font-style: italic;
}

/* ===== ВЕРФЬ ===== */
.shipyard-container .mil-frame {
    margin-bottom: 20px;
}

.shipyard-container .mil-row {
    border-bottom: none;
}

/* Кнопки выбора уровня в верфи и развитии */
.level-nav-btn {
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.level-nav-btn:hover {
    border-color: #0af !important;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.3);
    transform: translateX(2px);
    background: #1a1a1a !important;
}

.level-nav-btn.active:hover {
    border-color: #0f0 !important;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

/* Карточки кораблей */
.ship-card {
    transition: all 0.3s;
    cursor: default;
}

.ship-card:hover {
    border-color: #0af;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
    transform: translateY(-2px);
    background: #151515;
}

.ship-card .mil-action:hover {
    transform: scale(1.05);
}

/* Изображения кораблей */
.ship-card img {
    transition: all 0.3s;
}

.ship-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* ===== АНГАР ===== */
.hangar-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.hangar-fleets {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fleet-card {
    padding: 15px;
    transition: all 0.3s;
}

.fleet-card:hover {
    border-color: #0af;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
    transform: translateY(-2px);
    background: #151515;
}

.fleet-ships-list {
    border-right: 1px solid #333;
    padding-right: 15px;
}

.fleet-ship-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #222;
    transition: all 0.2s;
}

.fleet-ship-row:hover {
    background: #1a1a1a;
    border-color: #0af;
}

.fleet-admiral-panel {
    min-height: 100%;
}

.fleet-admiral-panel .mil-action {
    margin-top: 5px;
}

/* Свободные корабли */
.free-ship-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #222;
    transition: all 0.2s;
}

.free-ship-row:hover {
    background: #1a1a1a;
    border-color: #0af;
}

.free-ship-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.free-ship-actions {
    display: flex;
    gap: 5px;
}

/* ===== АДМИРАЛЫ ===== */
.admiral-frame {
    transition: all 0.3s;
    cursor: pointer;
}

.admiral-frame:hover {
    border-color: #0af;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
    transform: translateY(-2px);
    background: #151515;
}

.admiral-frame.same-race:hover {
    border-color: #0af;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
}

/* Карточки адмиралов */
.admiral-card {
    transition: all 0.3s;
}

.admiral-card:hover {
    border-color: #0af;
    background: #151515;
}

/* Изображения адмиралов */
.admiral-avatar {
    transition: all 0.3s;
}

.admiral-card:hover .admiral-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 15px currentColor;
}

/* ===== РАЗВИТИЕ ===== */
.development-container {
    padding: 10px;
}

.base-info-panel {
    background: #0f0f0f;
    border: 1px solid #333;
    padding: 20px;
}

/* Карточки модулей */
.module-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #111;
    border: 1px solid #333;
    transition: all 0.3s;
    cursor: default;
}

.module-card:hover {
    border-color: #0af;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
    transform: translateY(-2px);
    background: #151515;
}

.module-card.installed:hover {
    border-color: #0f0;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.module-card .mil-action:hover {
    transform: scale(1.05);
}

.module-image {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.module-card:hover .module-image {
    border-color: #0af;
    transform: rotate(5deg);
}

.module-content {
    flex: 1;
}

.module-name {
    color: #0af;
    font-weight: bold;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.module-card:hover .module-name {
    color: #0af;
    text-shadow: 0 0 8px rgba(0, 170, 255, 0.5);
}

.module-description {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.module-cost {
    font-size: 0.8rem;
    color: #ff0;
}

.cost-item {
    margin-right: 10px;
}

.module-action {
    display: flex;
    align-items: center;
    min-width: 100px;
    justify-content: flex-end;
}

.installed-badge {
    color: #0f0;
    font-size: 0.8rem;
    padding: 4px 8px;
    border: 1px solid #0f0;
    background: rgba(0, 255, 0, 0.1);
    transition: all 0.3s;
}

.installed-badge:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.locked-badge {
    color: #666;
    font-size: 0.8rem;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hangar-container {
        grid-template-columns: 1fr;
    }
}

/* ===== УВЕДОМЛЕНИЯ ===== */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 350px;
}

.notification {
    background: rgba(10, 10, 20, 0.95);
    border-width: 2px;
    border-style: solid;
    padding: 15px 25px;
    border-radius: 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    opacity: 0;
    animation: notificationSlideIn 0.3s ease-out forwards;
    display: flex;
    align-items: center;
    gap: 12px;
    border-image: none;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 243, 255, 0.2),
        transparent
    );
    animation: notificationScan 8s infinite;
}

.notification-success {
    background: rgba(10, 20, 10, 0.95);
    border-color: #0f0;
    color: #0f0;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

.notification-error {
    background: rgba(30, 10, 10, 0.95);
    border-color: #f00;
    color: #f00;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
}

.notification i {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px currentColor);
}

.notification.fade-out {
    animation: notificationSlideOut 0.3s ease-out forwards;
}

/* Анимации для уведомлений */
@keyframes notificationSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes notificationSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes notificationScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Анимация пульсации для важных уведомлений */
.notification.pulse {
    animation: notificationPulse 2s infinite;
}

@keyframes notificationPulse {
    0% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 243, 255, 0.6);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    }
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        padding: 12px 18px;
        font-size: 0.85rem;
    }
}
/* base.css - Стили для страницы боевой базы (в стиле орбитальной станции) */

/* ... (весь существующий код до вкладок остается без изменений) ... */

/* Вкладки */
.base-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.3);
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.base-tab {
    padding: 12px 25px;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 6px 6px 0 0;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    border-bottom: none;
    overflow: hidden;
}

.base-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 243, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 0;
}

.base-tab:hover::before {
    left: 100%;
}

.base-tab:hover {
    background: rgba(0, 243, 255, 0.15);
    color: var(--cyber-blue);
    border-color: var(--cyber-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
}

.base-tab.active {
    background: rgba(0, 243, 255, 0.15);
    border-color: var(--cyber-blue);
    color: var(--cyber-blue);
    box-shadow: 0 -2px 10px rgba(0, 243, 255, 0.2);
}

.base-tab.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 243, 255, 0.4);
}

.base-tab i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.base-tab:hover i {
    transform: scale(1.1);
}

.tab-badge {
    background: var(--cyber-blue);
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    position: relative;
    z-index: 1;
}

.base-content {
    min-height: 500px;
}

/* ===== ВОЕННЫЙ ТЕРМИНАЛ ===== */
.fleet-container {
    padding: 20px;
    background: #0a0a0a;
    border: 1px solid #333;
    font-family: 'Share Tech Mono', monospace;
}

.fleet-subtabs {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
}

.fleet-subtab {
    background: #111;
    border: 1px solid #333;
    border-bottom: none;
    color: #0af;
    padding: 10px 25px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fleet-subtab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 170, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 0;
}

.fleet-subtab:hover::before {
    left: 100%;
}

.fleet-subtab.active {
    background: #1a1a1a;
    color: #0f0;
    border-color: #0f0;
}

.fleet-subtab:hover {
    background: #222;
    border-color: #0af;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.3);
}

.fleet-content {
    min-height: 500px;
}

/* Военные рамки */
.mil-frame {
    border: 1px solid #333;
    background: #0f0f0f;
    margin-bottom: 15px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mil-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 170, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.mil-frame:hover::before {
    left: 100%;
}

.mil-frame:hover {
    border-color: #0af;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.2);
    background: #121212;
    transform: translateY(-2px);
}

.mil-frame-header {
    color: #0af;
    font-size: 1.1rem;
    padding-bottom: 5px;
    border-bottom: 1px solid #333;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

/* Строки данных */
.mil-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #222;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
}

.mil-row:hover {
    background: #1a1a1a;
    border-color: #0af;
    padding-left: 12px;
}

.mil-label {
    color: #888;
    font-size: 0.9rem;
}

.mil-value {
    color: #0af;
    font-weight: bold;
}

.mil-value.warning {
    color: #ff0;
}

.mil-value.danger {
    color: #f00;
}

.mil-value.success {
    color: #0f0;
}

/* Кнопки */
.mil-action {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--cyber-blue);
    color: var(--cyber-blue);
    padding: 8px 15px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.mil-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 243, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    z-index: -1;
}

.mil-action:hover::before {
    left: 100%;
}

.mil-action:hover {
    background: rgba(0, 243, 255, 0.2);
    border-color: var(--cyber-blue);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
    transform: translateY(-2px);
}

.mil-action:disabled {
    background: rgba(100, 100, 100, 0.1);
    border-color: #444;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.mil-action:disabled::before {
    display: none;
}

.mil-action.danger {
    background: rgba(255, 0, 60, 0.1);
    border-color: var(--cyber-red);
    color: var(--cyber-red);
}

.mil-action.danger::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 0, 60, 0.3),
        transparent
    );
}

.mil-action.danger:hover {
    background: rgba(255, 0, 60, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 60, 0.3);
}

.mil-action.success {
    background: rgba(0, 255, 157, 0.1);
    border-color: var(--cyber-green);
    color: var(--cyber-green);
}

.mil-action.success::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 157, 0.3),
        transparent
    );
}

.mil-action.success:hover {
    background: rgba(0, 255, 157, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 157, 0.3);
}

/* Маленькие кнопки для действий с кораблями */
.mil-action.small {
    padding: 4px 8px;
    font-size: 0.8rem;
}

.mil-select {
    background: #111;
    border: 1px solid #333;
    color: #0af;
    padding: 3px;
    font-family: 'Share Tech Mono', monospace;
    transition: all 0.3s ease;
}

.mil-select:hover {
    border-color: #0af;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.2);
}

/* Прогресс-бары символами */
.progress-symbol {
    font-family: 'Share Tech Mono', monospace;
    color: #0f0;
    letter-spacing: 2px;
}

/* Ресурсная строка */
.resource-bar {
    margin-top: 20px;
    padding: 10px;
    background: #111;
    border: 1px solid #333;
    color: #ff0;
    text-align: right;
    font-size: 0.9rem;
}

/* Сетки */
.two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* Заглушки для разработки */
.dev-placeholder {
    color: #666;
    text-align: center;
    padding: 50px;
    font-style: italic;
}

/* ===== ВЕРФЬ ===== */
.shipyard-container .mil-frame {
    margin-bottom: 20px;
}

.shipyard-container .mil-row {
    border-bottom: none;
}

/* Кнопки выбора уровня в верфи и развитии */
.level-nav-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.level-nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 170, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 0;
}

.level-nav-btn:hover::before {
    left: 100%;
}

.level-nav-btn:hover {
    border-color: #0af !important;
    box-shadow: 0 0 15px rgba(0, 170, 255, 0.3);
    transform: translateX(2px) translateY(-2px);
    background: #1a1a1a !important;
}

.level-nav-btn.active:hover {
    border-color: #0f0 !important;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
}

.level-nav-btn.active:hover::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 0, 0.3),
        transparent
    );
}

/* Карточки кораблей */
.ship-card {
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.ship-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 170, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.ship-card:hover::before {
    left: 100%;
}

.ship-card:hover {
    border-color: #0af;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
    transform: translateY(-2px);
    background: #151515;
}

.ship-card .mil-action:hover {
    transform: scale(1.05);
}

/* Изображения кораблей */
.ship-card img {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.ship-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* ===== АНГАР ===== */
.hangar-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.hangar-fleets {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fleet-card {
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fleet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 170, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.fleet-card:hover::before {
    left: 100%;
}

.fleet-card:hover {
    border-color: #0af;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
    transform: translateY(-2px);
    background: #151515;
}

.fleet-ships-list {
    border-right: 1px solid #333;
    padding-right: 15px;
}

.fleet-ship-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    border-bottom: 1px solid #222;
    transition: all 0.2s ease;
}

.fleet-ship-row:hover {
    background: #1a1a1a;
    border-color: #0af;
    padding-left: 12px;
}

.fleet-admiral-panel {
    min-height: 100%;
}

.fleet-admiral-panel .mil-action {
    margin-top: 5px;
}

/* Свободные корабли */
.free-ship-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #222;
    transition: all 0.2s ease;
}

.free-ship-row:hover {
    background: #1a1a1a;
    border-color: #0af;
    padding-left: 12px;
}

.free-ship-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.free-ship-actions {
    display: flex;
    gap: 5px;
}

/* ===== АДМИРАЛЫ ===== */
.admiral-frame {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.admiral-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 170, 255, 0.15),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.admiral-frame:hover::before {
    left: 100%;
}

.admiral-frame:hover {
    border-color: #0af;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
    transform: translateY(-2px);
    background: #151515;
}

.admiral-frame.same-race:hover {
    border-color: #0af;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.3);
}

/* Карточки адмиралов */
.admiral-card {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.admiral-card:hover {
    border-color: #0af;
    background: #151515;
}

/* Изображения адмиралов */
.admiral-avatar {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.admiral-card:hover .admiral-avatar {
    transform: scale(1.1);
    box-shadow: 0 0 15px currentColor;
}

/* ===== РАЗВИТИЕ ===== */
.development-container {
    padding: 10px;
}

.base-info-panel {
    background: #0f0f0f;
    border: 1px solid #333;
    padding: 20px;
}

/* Карточки модулей */
.module-card {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #111;
    border: 1px solid #333;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 170, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.module-card:hover::before {
    left: 100%;
}

.module-card:hover {
    border-color: #0af;
    box-shadow: 0 0 20px rgba(0, 170, 255, 0.2);
    transform: translateY(-2px);
    background: #151515;
}

.module-card.installed:hover {
    border-color: #0f0;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.module-card.installed::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 0, 0.1),
        transparent
    );
}

.module-card .mil-action:hover {
    transform: scale(1.05);
}

.module-image {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.module-card:hover .module-image {
    border-color: #0af;
    transform: rotate(5deg) scale(1.1);
}

.module-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.module-name {
    color: #0af;
    font-weight: bold;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.module-card:hover .module-name {
    color: #0af;
    text-shadow: 0 0 8px rgba(0, 170, 255, 0.5);
}

.module-description {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.module-cost {
    font-size: 0.8rem;
    color: #ff0;
}

.cost-item {
    margin-right: 10px;
}

.module-action {
    display: flex;
    align-items: center;
    min-width: 100px;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.installed-badge {
    color: #0f0;
    font-size: 0.8rem;
    padding: 4px 8px;
    border: 1px solid #0f0;
    background: rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.installed-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 0, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.installed-badge:hover::before {
    left: 100%;
}

.installed-badge:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);
}

.locked-badge {
    color: #666;
    font-size: 0.8rem;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hangar-container {
        grid-template-columns: 1fr;
    }
}

/* ===== УВЕДОМЛЕНИЯ ===== */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: 350px;
}

.notification {
    background: rgba(10, 10, 20, 0.95);
    border-width: 2px;
    border-style: solid;
    padding: 15px 25px;
    border-radius: 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    opacity: 0;
    animation: notificationSlideIn 0.3s ease-out forwards;
    display: flex;
    align-items: center;
    gap: 12px;
    border-image: none;
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 243, 255, 0.2),
        transparent
    );
    animation: notificationScan 8s infinite;
}

.notification-success {
    background: rgba(10, 20, 10, 0.95);
    border-color: #0f0;
    color: #0f0;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}

.notification-error {
    background: rgba(30, 10, 10, 0.95);
    border-color: #f00;
    color: #f00;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
}

.notification i {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px currentColor);
}

.notification.fade-out {
    animation: notificationSlideOut 0.3s ease-out forwards;
}

/* Анимации для уведомлений */
@keyframes notificationSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes notificationSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes notificationScan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Анимация пульсации для важных уведомлений */
.notification.pulse {
    animation: notificationPulse 2s infinite;
}

@keyframes notificationPulse {
    0% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 243, 255, 0.6);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    }
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        padding: 12px 18px;
        font-size: 0.85rem;
    }
}
/* ===== АДМИРАЛЫ ===== */
.admirals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(600px, 1fr));
    gap: 20px;
    padding: 10px;
}

/* Контейнер для двух колонок в основном табе */
.admirals-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 1400px) {
    .admirals-two-column {
        grid-template-columns: 1fr; /* Одна колонка на средних экранах */
    }
}

@media (max-width: 768px) {
    .admirals-grid {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
        gap: 15px;
        padding: 5px;
    }
}

.admiral-frame {
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 15px 20px 8px 20px !important;
    width: 100%;
    border: 1px solid #333;
    background: #0f0f0f;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .admiral-frame {
        padding: 12px 15px 8px 15px !important;
    }
}

/* Основной контейнер карточки */
.admiral-card {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .admiral-card {
        gap: 10px;
    }
}

/* Аватар - 150x150 */
.admiral-avatar {
    width: 150px !important;
    height: 150px !important;
    background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
    border: 3px solid #0af;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #0af;
    flex-shrink: 0;
    overflow: hidden; /* Добавить - чтобы изображение не вылезало за рамки */
}

/* Добавить новый класс для изображений внутри аватара */
.admiral-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Чтобы изображение заполняло весь блок */
    border-radius: 6px; /* Чуть меньше основного бордера */
}

@media (max-width: 768px) {
    .admiral-avatar {
        width: 120px !important;
        height: 120px !important;
        font-size: 3rem;
    }
}

/* Контейнер информации справа */
.admiral-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Строка с расой и уровнем */
.admiral-race-level {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

@media (max-width: 480px) {
    .admiral-race-level {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

.admiral-race {
    color: #888;
    font-size: 0.9rem;
}

.admiral-level {
    color: #0f0;
    font-size: 0.9rem;
}

/* Черта характера */
.admiral-trait {
    color: #ff0;
    font-size: 0.9rem;
    line-height: 1.3;
    word-wrap: break-word;
}

/* Имя под фото */
.admiral-name-under {
    font-size: 1rem;
    font-weight: bold;
    color: #0af;
    margin-top: 5px;
    margin-bottom: 2px;
    text-align: left;
    word-wrap: break-word;
}

/* Статус под именем */
.admiral-status-under {
    color: #888;
    text-align: left;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.admiral-status-under span {
    color: #ff0;
    font-weight: bold;
}

/* Контейнер для кнопки */
.admiral-button-container {
    text-align: right;
    margin-top: -22px;
}

@media (max-width: 768px) {
    .admiral-button-container {
        margin-top: 5px;
        text-align: left;
    }
}

.admiral-button {
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid #0af;
    color: #0af;
    padding: 4px 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.admiral-button:hover {
    background: rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
}

.admiral-button.danger {
    border-color: #f00;
    color: #f00;
}

.admiral-button.danger:hover {
    background: rgba(255, 0, 0, 0.2);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.admiral-button.success {
    border-color: #0f0;
    color: #0f0;
}

.admiral-button.success:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

/* Для доступных адмиралов */
.admiral-frame.same-race {
    border-color: #0af;
}

.hire-cost {
    color: #ff0;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 0, 0.1);
    padding: 4px 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 0, 0.2);
}

/* Селект для назначения */
.admiral-select {
    background: #111;
    border: 1px solid #333;
    color: #0af;
    padding: 4px 8px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 120px;
}

.admiral-select:hover {
    border-color: #0af;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.2);
    background: #1a1a1a;
}

@media (max-width: 768px) {
    .admiral-select {
        width: 100%;
    }
}
/* Ограничиваем общую ширину */
.hangar-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 20px;
    padding: 20px;
    max-width: 1400px;  /* ФИКСИРОВАННАЯ МАКСИМАЛЬНАЯ ШИРИНА */
    margin: 0 auto;      /* Центрируем */
    width: 100%;
    box-sizing: border-box;
}

/* Ограничиваем общую ширину ангара */
.hangar-container {
    display: grid;
    grid-template-columns: minmax(500px, 800px) 350px; /* Флот от 500 до 800px, резерв 350px */
    gap: 20px;
    padding: 20px;
    justify-content: center; /* Центрируем */
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Флоты - с максимальной шириной */
.hangar-fleets {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 800px; /* Флот не шире 800px */
}

/* Карточки флота - на всю ширину родителя */
.fleet-card-modern {
    width: 100%;
    max-width: 800px;
    box-sizing: border-box;
}

/* Резерв - фиксированная ширина */
.hangar-right {
    width: 350px;
    flex-shrink: 0;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hangar-container {
        grid-template-columns: 1fr;
    }
    .hangar-right {
        width: 100%;
    }
}
.base-stats {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
}

.stat-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 5px 10px !important;
    white-space: nowrap !important;
}

.stat-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 5px !important;
}

.stat-label {
    font-size: 0.8rem !important;
}

.stat-value {
    font-size: 0.9rem !important;
}
/* ===== НОВЫЕ СТИЛИ ДЛЯ СТАТУСА ФЛОТА ===== */

/* Статус флота в карточке */
.fleet-status {
    margin: 10px 0;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid transparent;
}

.fleet-status.in-transit {
    border-left-color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
}

.fleet-status.docked {
    border-left-color: #00ff00;
    background: rgba(0, 255, 0, 0.05);
}

.fleet-status-icon {
    font-size: 1rem;
    margin-right: 8px;
}

.fleet-status-text {
    font-weight: bold;
    font-size: 0.9rem;
}

.fleet-status-location {
    color: #888;
    font-size: 0.8rem;
    margin-left: 10px;
}

/* Кнопка возврата флота */
.fleet-return-btn {
    background: rgba(255, 170, 0, 0.15);
    border: 1px solid #ffaa00;
    color: #ffaa00;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fleet-return-btn:hover {
    background: rgba(255, 170, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.3);
}

.fleet-return-btn i {
    font-size: 0.8rem;
}

/* Стиль для кнопки return в общем стиле кнопок */
.mil-action.return {
    background: rgba(255, 170, 0, 0.15);
    border-color: #ffaa00;
    color: #ffaa00;
}

.mil-action.return:hover {
    background: rgba(255, 170, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.3);
}
/* ===== ОСТАЛЬНЫЕ СУЩЕСТВУЮЩИЕ СТИЛИ ===== */
/* ... (весь остальной код CSS остается без изменений) ... */

/* ===== ОСТАЛЬНЫЕ СУЩЕСТВУЮЩИЕ СТИЛИ ===== */
/* ... (весь остальной код CSS остается без изменений) ... */