/* Manager11 Game Screens CSS */

/* Game Screen Base */
.game-screen-body {
    background: #1a1a1a;
    color: #e0e0e0;
    font-family: 'VT323', monospace;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Game Header */
.game-header {
    background: linear-gradient(to bottom, #0066cc 0%, #004499 100%);
    border-bottom: 3px solid #ffcc00;
    padding: 0;
}

.game-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 15px;
}

.nav-button {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid transparent;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    transition: all 0.2s;
}

.nav-button:hover {
    border-color: #ffcc00;
    transform: translateY(-2px);
}

.screen-name {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: #ffcc00;
    padding: 0 30px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

/* Main Game Area */
.game-main {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.screen-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Transfer Screen Styles */
.budget-panel {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 2px solid #333;
}

.budget-item {
    text-align: center;
}

.budget-label {
    display: block;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 5px;
}

.budget-value {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
}

.budget-value.positive {
    color: #4ade80;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
}

.tab {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #999;
    font-family: 'VT323', monospace;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}

.tab:hover {
    color: white;
    background: rgba(255,255,255,0.05);
}

.tab.active {
    color: #ffcc00;
    border-bottom-color: #ffcc00;
}

/* Search Panel */
.search-panel {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
}

.search-input,
.filter-dropdown {
    flex: 1;
    padding: 10px;
    background: #2a2a2a;
    border: 2px solid #444;
    color: white;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
}

.search-button {
    padding: 10px 30px;
    background: #0066cc;
    border: 2px solid #0066cc;
    color: white;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.search-button:hover {
    background: #0080ff;
    transform: scale(1.05);
}

/* Player Table */
.player-list-container {
    background: rgba(0,0,0,0.3);
    border: 2px solid #333;
    padding: 20px;
    margin-bottom: 30px;
    overflow-x: auto;
}

.player-table {
    width: 100%;
    border-collapse: collapse;
}

.player-table th {
    background: #0066cc;
    color: white;
    padding: 12px 8px;
    text-align: left;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    border: 1px solid #004499;
}

.player-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #333;
}

.player-row:hover {
    background: rgba(255,255,255,0.05);
}

.player-row.scouted {
    background: rgba(74, 222, 128, 0.1);
}

.player-name {
    font-weight: bold;
    color: #ffcc00;
}

.value {
    color: #4ade80;
    font-weight: bold;
}

.rating {
    font-weight: bold;
    text-align: center;
}

.rating.excellent {
    color: #4ade80;
}

.rating.good {
    color: #ffcc00;
}

.rating.average {
    color: #ff9900;
}

/* Action Buttons */
.action-btn {
    padding: 5px 10px;
    margin: 0 2px;
    background: #333;
    border: 1px solid #555;
    color: white;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn.scout:hover {
    background: #ff9900;
    border-color: #ff9900;
}

.action-btn.bid:hover {
    background: #0066cc;
    border-color: #0066cc;
}

.action-btn.primary {
    background: #4ade80;
    border-color: #4ade80;
    color: black;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 2px solid #333;
    color: white;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-action-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffcc00;
    transform: translateY(-2px);
}

.quick-action-btn .icon {
    font-size: 1.5rem;
}

/* Finance Screen Styles */
.finance-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.finance-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid #333;
    padding: 25px;
    text-align: center;
    transition: all 0.2s;
}

.finance-card:hover {
    border-color: #0066cc;
    transform: translateY(-2px);
}

.finance-card h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: #ffcc00;
    margin-bottom: 15px;
}

.amount {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.3rem;
    margin: 10px 0;
}

.amount.positive {
    color: #4ade80;
}

.amount.negative {
    color: #ff4444;
}

.trend {
    font-size: 0.9rem;
    color: #999;
}

/* Finance Details */
.finance-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.revenue-section,
.expenses-section {
    background: rgba(0,0,0,0.3);
    border: 2px solid #333;
    padding: 25px;
}

.section-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: #ffcc00;
    margin-bottom: 20px;
    text-align: center;
}

.revenue-item,
.expense-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.item-name {
    width: 150px;
    font-size: 1.1rem;
}

.progress-bar {
    flex: 1;
    height: 20px;
    background: #222;
    border: 1px solid #444;
    margin: 0 15px;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #0066cc, #4ade80);
    transition: width 1s ease;
}

.progress-fill.negative {
    background: linear-gradient(to right, #cc0000, #ff4444);
}

.item-value {
    width: 80px;
    text-align: right;
    font-weight: bold;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #444;
    font-family: 'Press Start 2P', cursive;
}

.total-value {
    font-size: 1.1rem;
}

/* Finance Actions */
.finance-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.finance-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border: 2px solid #333;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
}

.finance-action-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: #ffcc00;
    transform: translateY(-2px);
}

.finance-action-btn .icon {
    font-size: 2rem;
}

.action-name {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: #ffcc00;
}

.action-desc {
    font-size: 0.9rem;
    color: #999;
}

/* Trend Chart */
.trend-chart {
    background: rgba(0,0,0,0.3);
    border: 2px solid #333;
    padding: 25px;
}

.chart-container {
    margin-top: 20px;
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 150px;
}

.month-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.bar {
    width: 40px;
    background: #4ade80;
    border: 1px solid #2d8659;
    transition: all 0.3s;
}

.bar.current {
    background: #ffcc00;
    border-color: #cc9900;
}

.month {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #999;
}

/* Stadium Screen Styles */
.stadium-header {
    text-align: center;
    margin-bottom: 30px;
}

.stadium-name {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.8rem;
    color: #ffcc00;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

.stadium-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 5px;
}

.stat-value {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: #4ade80;
}

/* Stadium Visual */
.stadium-visual {
    background: rgba(45, 80, 22, 0.2);
    border: 3px solid #4ade80;
    padding: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.stadium-ascii {
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.2;
    color: #4ade80;
    margin: 0;
}

.stand-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #999;
}

/* Upgrades */
.upgrades-section {
    margin-bottom: 40px;
}

.upgrades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.upgrade-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid #333;
    padding: 20px;
    transition: all 0.2s;
}

.upgrade-card:hover {
    border-color: #ffcc00;
    transform: translateY(-2px);
}

.upgrade-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 10px;
}

.upgrade-card h4 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: #ffcc00;
    margin-bottom: 10px;
}

.upgrade-desc {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 15px;
}

.upgrade-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #4ade80;
}

.upgrade-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #444;
}

.upgrade-cost {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    color: #ffcc00;
}

.build-btn {
    padding: 8px 20px;
    background: #4ade80;
    border: none;
    color: black;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
}

.build-btn:hover {
    background: #5ee88a;
    transform: scale(1.05);
}

/* Facilities */
.facilities-list {
    display: grid;
    gap: 15px;
}

.facility-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid #333;
}

.facility-name {
    font-size: 1.1rem;
    width: 200px;
}

.rating-stars {
    display: flex;
    gap: 5px;
    font-size: 1.5rem;
}

.star {
    color: #333;
}

.star.filled {
    color: #ffcc00;
}

.upgrade-btn {
    padding: 8px 15px;
    background: #0066cc;
    border: none;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.upgrade-btn:hover {
    background: #0080ff;
}

.max-level {
    color: #4ade80;
    font-weight: bold;
}

/* Status Bar */
.game-status-bar {
    background: #0066cc;
    border-top: 2px solid #ffcc00;
    padding: 10px;
    display: flex;
    justify-content: space-around;
    font-size: 0.9rem;
}

.status-item {
    color: white;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .game-nav {
        flex-wrap: wrap;
        font-size: 0.8rem;
    }
    
    .screen-name {
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    
    .finance-details,
    .upgrades-grid {
        grid-template-columns: 1fr;
    }
    
    .stadium-ascii {
        font-size: 0.6rem;
    }
    
    .player-table {
        font-size: 0.8rem;
    }
    
    .player-table th,
    .player-table td {
        padding: 5px;
    }
}