/* Main Container Styles */ .main-container { width: 100%; height: 100%; position: absolute; top: 0; left: 0; } /* Top HUD Styles */ .top-hud { flex-direction: row; justify-content: space-between; align-items: flex-start; width: 100%; height: auto; padding: 10px; background-color: rgba(0, 0, 0, 0.3); border-bottom-width: 2px; border-bottom-color: rgba(255, 255, 255, 0.2); } .resources-panel { flex-direction: row; align-items: center; } .resource-item { flex-direction: row; align-items: center; margin-right: 20px; padding: 5px 10px; background-color: rgba(0, 0, 0, 0.5); border-radius: 5px; } .resource-icon { width: 24px; height: 24px; margin-right: 5px; border-radius: 3px; } .wood-icon { background-color: rgb(139, 69, 19); } .stone-icon { background-color: rgb(128, 128, 128); } .food-icon { background-color: rgb(255, 215, 0); } .resource-label { color: white; font-size: 14px; margin-right: 5px; -unity-font-style: bold; } .resource-amount { color: rgb(255, 255, 0); font-size: 16px; -unity-font-style: bold; min-width: 40px; } /* Time Controls */ .time-controls { flex-direction: row; align-items: center; } .time-speed-label { color: white; font-size: 16px; -unity-font-style: bold; margin-right: 10px; background-color: rgba(0, 0, 0, 0.7); padding: 5px 10px; border-radius: 3px; } .time-button { margin-left: 5px; padding: 5px 10px; background-color: rgba(70, 130, 180, 0.8); border-color: rgba(255, 255, 255, 0.3); border-width: 1px; border-radius: 3px; color: white; font-size: 12px; } .time-button:hover { background-color: rgba(100, 149, 237, 0.9); } .time-button:active { background-color: rgba(30, 144, 255, 1); } /* Side Panel */ .side-panel { position: absolute; right: 10px; top: 80px; width: 250px; height: auto; max-height: 70%; } .info-panel { background-color: rgba(0, 0, 0, 0.8); border-color: rgba(255, 255, 255, 0.3); border-width: 1px; border-radius: 5px; padding: 10px; margin-bottom: 10px; } .panel-title { color: rgb(255, 215, 0); font-size: 14px; -unity-font-style: bold; margin-bottom: 8px; border-bottom-width: 1px; border-bottom-color: rgba(255, 215, 0, 0.5); padding-bottom: 3px; } .info-text { color: white; font-size: 12px; white-space: normal; margin-bottom: 5px; } .small-text { font-size: 10px; color: rgba(255, 255, 255, 0.8); } /* Job Buttons */ .job-buttons-container { flex-direction: column; margin-top: 10px; } .job-buttons-container > Button { margin-bottom: 3px; padding: 3px 8px; background-color: rgba(34, 139, 34, 0.7); border-color: rgba(255, 255, 255, 0.3); border-width: 1px; border-radius: 3px; color: white; font-size: 11px; } .job-buttons-container > Button:hover { background-color: rgba(50, 205, 50, 0.8); } .job-buttons-container > Button:active { background-color: rgba(0, 128, 0, 1); } /* Bottom HUD */ .bottom-hud { position: absolute; bottom: 10px; left: 10px; right: 10px; height: auto; background-color: rgba(0, 0, 0, 0.6); border-radius: 5px; padding: 8px; } .status-text { color: white; font-size: 12px; text-align: middle-center; } /* Responsive adjustments */ @media screen and (max-width: 1024px) { .side-panel { width: 200px; } .resource-amount { font-size: 14px; } }