@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600&display=swap"); body { margin: 0; padding: 0; font-family: "Exo 2", sans-serif; background: transparent; overflow: hidden; } .garage-ui { position: fixed; top: 50%; right: 30px; transform: translateY(-50%); display: flex; flex-direction: row-reverse; gap: 16px; z-index: 9999; opacity: 0; animation: fadeIn 0.4s ease forwards; } @keyframes fadeIn { to { opacity: 1; } } .garage-panel { width: 360px; background: #0e1118ee; backdrop-filter: blur(10px); padding: 20px; border-radius: 20px; display: flex; flex-direction: column; box-shadow: 0 0 40px rgba(0, 0, 0, 0.75); animation: slideInRight 0.4s ease forwards; } @keyframes slideInRight { from { transform: translateX(60px); opacity: 0; } to { transform: translateX(0); opacity: 1; } } .vehicle-details-panel { width: 320px; background: #11151c; backdrop-filter: blur(8px); padding: 20px; border-radius: 20px; color: #fff; display: none; flex-direction: column; animation: slideInLeft 0.4s ease forwards; } @keyframes slideInLeft { from { transform: translateX(60px); opacity: 0; } to { transform: translateX(0); opacity: 1; } } .garage-title { font-size: 24px; font-weight: 600; color: white; text-shadow: 1px 1px 4px #000; } .garage-header-bar { display: flex; flex-direction: column; gap: 10px; } .garage-tabs { display: flex; gap: 10px; } .tab { flex: 1; padding: 10px 14px; border-radius: 10px; background: #1c212d; color: #bbb; border: none; font-weight: 600; cursor: pointer; transition: 0.2s; } .tab.active { background: linear-gradient(135deg, #5a55f2, #a849f2); color: white; box-shadow: 0 0 10px rgba(138, 76, 255, 0.5); } #vehicle-search { padding: 10px 14px; border: none; border-radius: 10px; background: #1a1f28; color: #fff; font-size: 14px; } .vehicle-list { margin-top: 12px; max-height: 55vh; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; } .vehicle-card { background: #1b1f2b; padding: 16px; border-radius: 14px; cursor: pointer; transition: 0.2s ease; box-shadow: 0 3px 6px rgba(0,0,0,0.4); } .vehicle-card:hover { background: #272d3c; } .vehicle-name { font-size: 17px; font-weight: 600; color: white; } .vehicle-meta { font-size: 13px; color: #ccc; margin-top: 6px; } .vehicle-info-box { display: flex; flex-direction: column; gap: 12px; } .vehicle-title { font-size: 20px; font-weight: 600; } .stat-bar { display: flex; flex-direction: column; gap: 4px; } .stat-bar label { font-size: 13px; color: #aaa; } progress { width: 100%; height: 12px; border-radius: 6px; appearance: none; } progress::-webkit-progress-bar { background-color: #2c3541; border-radius: 6px; } progress::-webkit-progress-value { background: linear-gradient(90deg, #4facfe, #00f2fe); border-radius: 6px; } .actions { margin-top: 14px; } .actions button { width: 100%; padding: 12px; background: linear-gradient(135deg, #5865f2, #854fe8); color: white; font-weight: bold; border: none; border-radius: 12px; cursor: pointer; transition: 0.25s ease; font-size: 15px; } .actions button:hover { background: linear-gradient(135deg, #6975ff, #a164ff); } /* Fade out for garage UI */ .garage-ui.hide { opacity: 0; transition: opacity 0.3s ease; pointer-events: none; } .vehicle-details-panel { opacity: 0; transition: opacity 0.3s ease; } .vehicle-details-panel.show { display: flex; opacity: 1; } .vehicle-list::-webkit-scrollbar { width: 6px; } .vehicle-list::-webkit-scrollbar-track { background: transparent; border-radius: 6px; } .vehicle-list::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #5a55f2, #a849f2); border-radius: 6px; box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.5); transition: background 0.3s ease; } .vehicle-list::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #7a6dff, #bb57ff); } .nickname { color: #a9d4ff; font-weight: 700; } .edit-nickname { float: right; font-size: 14px; color: #888; cursor: pointer; margin-left: 10px; transition: color 0.2s ease; } .edit-nickname:hover { color: #fff; } .nickname.editing { outline: 2px solid #35dbc2; background-color: #111; padding: 4px 8px; font-size: 18px; border-radius: 6px; } .nickname[contenteditable="true"] { background-color: #ffffffcc; color: black; padding: 6px 10px; border: 2px solid #888; border-radius: 6px; outline: none; font-size: 1.1em; box-shadow: 0 0 8px rgba(255, 255, 255, 0.3); min-width: 150px; } .garage-ui.closed { opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } .garage-ui.closed-end { display: none; }