* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Rajdhani', sans-serif; } :root { --primary: #ff7b00; --primary-dark: #ff7b00; --primary-light: #ff7b00; --primary-glow: rgba(240, 126, 33, 0.5); --secondary: #2525259d; --accent: #ec7513; --background: rgba(22, 22, 22, 0.705); --card-bg: rgba(20, 20, 20, 0.658); --text: #e6f7ff; --text-secondary: #ffffff; --danger: #ff3a5e; --success: #00e676; --hover: rgba(22, 22, 22, 0.705); } body { height: 100vh; display: flex; justify-content: center; align-items: center; background-color: transparent; overflow: hidden; } #app { width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; } .container { width: 900px; background-color: transparent; border-radius: 12px; overflow: hidden; color: var(--text); animation: fadeIn 0.3s ease; } @keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } } .header { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: linear-gradient(135deg, #22222288 0%, #22222288 100%); position: relative; overflow: hidden; } .header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(45deg, rgba(20, 20, 20, 0.288) 0%, transparent 70%); z-index: 0; } .logo-container { display: flex; align-items: center; position: relative; z-index: 1; } .logo { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 28px; letter-spacing: 1px; position: relative; } .logo::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--primary), transparent); } .logo-triangle { width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; margin-left: 8px; position: relative; transform: rotate(180deg); } .logo-triangle::before { content: ''; position: absolute; top: 3px; left: -6px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; } .subtitle { font-family: 'Rajdhani', sans-serif; font-size: 12px; font-weight: 600; color: var(--text-secondary); letter-spacing: 2px; margin-left: 10px; margin-top: 10px; } .header h1 { font-family: 'Orbitron', sans-serif; font-size: 24px; font-weight: 600; color: var(--text); position: relative; z-index: 1; } .close-btn { background: none; border: none; color: var(--text); cursor: pointer; font-size: 20px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 4; border: #313131af; transition: all 0.2s; position: relative; z-index: 1; background-color: rgba(19, 18, 18, 0.877); transform: rotate(45deg); } .close-btn:hover { background-color: rgba(235, 120, 25, 0.774); transform: rotate(45deg); } .tabs { display: flex; background: linear-gradient(180deg, #22222288 0%, #22222288 100%); border-bottom: 1px solid var(--border); } .tabs button { flex: 1; background: none; border: none; color: var(--text-secondary); padding: 15px; font-size: 16px; font-weight: 500; cursor: pointer; transition: all 0.3s; position: relative; overflow: hidden; font-family: 'Rajdhani', sans-serif; letter-spacing: 0.5px; } .tabs button::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--primary), transparent); transition: all 0.3s; transform: translateX(-50%); } .tabs button.active { color: var(--primary); background-color: #22222288; } .tabs button.active::after { width: 100%; } .tabs button:hover:not(.active) { background-color: rgba(23, 24, 24, 0.808); color: var(--accent); } .tabs button:hover::after { width: 50%; } .content { max-height: 600px; overflow-y: auto; background: linear-gradient(180deg, rgba(23, 24, 24, 0.808) 0%, rgba(23, 24, 24, 0.808) 100%); } .tab-content { padding: 20px; animation: fadeIn 0.3s ease; } .search-bar { margin-bottom: 15px; position: relative; } .search-bar input { width: 100%; padding: 12px 15px 12px 40px; border-radius: 8px; border: 1px solid var(--border); background-color: rgba(23, 24, 24, 0.808); color: var(--text); font-size: 14px; transition: all 0.3s; } .search-bar::before { content: '\1F50D'; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--text-secondary); font-size: 14px; } .search-bar input:focus { outline: none; border-color: var(--primary); } .blip-list { display: flex; flex-direction: column; gap: 10px; } .no-blips { text-align: center; padding: 40px 20px; color: var(--text-secondary); font-size: 16px; background-color: rgba(23, 24, 24, 0.808); border-radius: 8px; border: 1px dashed var(--border); } .blip-item { display: flex; justify-content: space-between; align-items: center; padding: 15px; background: linear-gradient(135deg, rgba(23, 24, 24, 0.808) 0%, rgba(23, 24, 24, 0.808) 100%); border-radius: 8px; border: 1px solid var(--border); transition: all 0.2s; position: relative; overflow: hidden; } .blip-item::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(23, 24, 24, 0.808) 0%, transparent 70%); z-index: 0; } .blip-item:hover { transform: translateY(-2px); border-color: var(--primary); } .blip-info { flex: 1; position: relative; z-index: 1; } .blip-name { font-weight: 600; font-size: 16px; margin-bottom: 5px; color: var(--text); } .blip-details { display: flex; gap: 15px; font-size: 13px; color: var(--text-secondary); } .blip-details span { display: flex; align-items: center; } .blip-details span::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; } .blip-details span:nth-child(1)::before { background-color: var(--primary); } .blip-details span:nth-child(2)::before { background-color: var(--accent); } .blip-details span:nth-child(3)::before { background-color: var(--success); } .blip-actions { display: flex; gap: 8px; position: relative; z-index: 1; } .edit-btn, .delete-btn { background: none; border: none; color: var(--text); cursor: pointer; width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; position: relative; } .edit-btn { background-color: rgba(230, 113, 17, 0.897); } .edit-btn:hover { background-color: var(--primary); transform: scale(1.05); } .delete-btn { background-color: rgb(250, 5, 5); border: 1px solid rgba(255, 2, 2, 0.979); } .delete-btn:hover { transform: scale(1.05); } .form { display: flex; flex-direction: column; gap: 20px; background: linear-gradient(135deg, rgba(23, 24, 24, 0.808) 0%, rgba(23, 24, 24, 0.808) 100%); padding: 20px; border-radius: 8px; border: 1px solid var(--border); position: relative; overflow: hidden; } .form::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(23, 24, 24, 0.808) 0%, transparent 70%); z-index: 0; } .form-group { display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; } .form-group label { font-size: 14px; font-weight: 600; color: var(--primary); letter-spacing: 0.5px; } .form-group input[type="text"], .form-group input[type="number"] { padding: 12px 15px; border-radius: 8px; border: 1px solid var(--border); background-color: rgba(23, 24, 24, 0.808); color: var(--text); font-size: 14px; transition: all 0.3s; } .form-group input:focus { outline: none; border-color: var(--primary); } /* Enhanced Select Styling */ .select-wrapper { position: relative; } .select-wrapper select { width: 100%; padding: 12px 15px; border-radius: 8px; border: 1px solid var(--border); background-color: rgba(23, 24, 24, 0.808); color: var(--text); font-size: 14px; appearance: none; cursor: pointer; transition: all 0.3s; } .select-wrapper select:focus { outline: none; border-color: var(--primary); } .select-wrapper .material-icons { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--primary); } /* Category Filter */ .category-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; max-height: 120px; overflow-y: auto; padding: 5px; background-color: rgba(23, 24, 24, 0.808); border-radius: 8px; border: 1px solid var(--border); } .category-filter button { padding: 8px 12px; border-radius: 20px; border: 1px solid var(--border); background-color: rgba(23, 24, 24, 0.808); color: var(--text-secondary); font-size: 12px; cursor: pointer; transition: all 0.2s; white-space: nowrap; } .category-filter button.active { background-color: var(--primary); color: var(--text); border-color: var(--primary); } .category-filter button:hover:not(.active) { background-color: var(--hover); border-color: var(--primary); } .grid-selection { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px; max-height: 200px; overflow-y: auto; padding: 10px; background-color: rgba(23, 24, 24, 0.808); border: 1px solid var(--border); border-radius: 8px; margin-top: 10px; } /* Sprite Grid - taller to show more sprites */ .sprite-grid { max-height: 300px; } .grid-item { display: flex; flex-direction: column; align-items: center; padding: 10px; border-radius: 8px; border: 1px solid var(--border); cursor: pointer; transition: all 0.2s; background-color: rgba(23, 24, 24, 0.808); } .grid-item:hover { border-color: var(--primary); transform: translateY(-2px); } .grid-item.selected { border-color: var(--primary); background-color: rgba(230, 115, 22, 0.918); } .grid-item .icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; margin-bottom: 5px; } .sprite-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 5px; font-size: 12px; } .grid-item .label { font-size: 12px; text-align: center; color: var(--text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; width: 100%; } .color-preview { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--border); } .custom-input { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px; background-color: rgba(23, 24, 24, 0.808); border-radius: 8px; border: 1px solid var(--border); } .custom-input label { font-size: 12px; white-space: nowrap; color: var(--text-secondary); } .custom-input input { flex: 1; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--border); background-color: rgba(23, 24, 24, 0.808); color: var(--text); font-size: 14px; } .custom-input input:focus { outline: none; border-color: var(--primary); } .form-group input[type="range"] { width: 100%; height: 5px; border-radius: 5px; background: rgba(23, 24, 24, 0.808); outline: none; -webkit-appearance: none; appearance: none; margin: 10px 0; padding: 0; } .form-group input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); cursor: pointer; border: 2px solid var(--text); margin-top: -6px; } .form-group input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--primary); cursor: pointer; border: 2px solid var(--text); } .form-group input[type="range"]::-ms-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--primary); cursor: pointer; border: 2px solid var(--text); } .form-group input[type="range"]:focus { outline: none; } .form-group input[type="range"]::-webkit-slider-runnable-track { width: 100%; height: 5px; cursor: pointer; background: rgba(235, 102, 13, 0.842); border-radius: 5px; border: none; } .form-group input[type="range"]::-moz-range-track { width: 100%; height: 5px; cursor: pointer; background: rgba(238, 103, 13, 0.87); border-radius: 5px; border: none; } .form-group input[type="range"]::-ms-track { width: 100%; height: 5px; cursor: pointer; background: transparent; border-color: transparent; color: transparent; } .scale-value { font-size: 14px; color: var(--accent); margin-left: 10px; font-weight: 500; } .range-with-value { display: flex; align-items: center; } .create-btn, .save-btn { padding: 14px; border-radius: 8px; border: none; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: var(--text); font-size: 16px; font-weight: 600; cursor: pointer; transition: all 0.3s; margin-top: 10px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; z-index: 1; } .create-btn::before, .save-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(23, 24, 24, 0.808), transparent); transition: 0.5s; z-index: -1; } .create-btn:hover::before, .save-btn:hover::before { left: 100%; } .create-btn:hover, .save-btn:hover { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); transform: translateY(-2px); } .button-group { display: flex; gap: 10px; } .cancel-btn { padding: 14px; border-radius: 8px; border: 1px solid var(--border); background-color: rgba(23, 24, 24, 0.808); color: var(--text); font-size: 16px; font-weight: 500; cursor: pointer; transition: all 0.3s; flex: 1; display: flex; align-items: center; justify-content: center; } .cancel-btn:hover { background-color: rgba(255, 0, 0, 0.699); border-color: var(--primary); } .save-btn { flex: 2; margin-top: 0; } .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(23, 24, 24, 0.808); display: flex; justify-content: center; align-items: center; z-index: 1000; animation: fadeIn 0.2s ease; } .modal-content { width: 400px; background: linear-gradient(135deg, rgba(23, 24, 24, 0.808) 0%, rgba(23, 24, 24, 0.808) 100%); border-radius: 12px; border: 1px solid var(--primary); padding: 25px; animation: scaleIn 0.3s ease; position: relative; overflow: hidden; } .modal-content::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, rgba(23, 24, 24, 0.808) 0%, transparent 70%); z-index: 0; } @keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } } .modal-content h2 { font-family: 'Orbitron', sans-serif; font-size: 20px; margin-bottom: 15px; color: var(--primary); position: relative; z-index: 1; } .modal-content p { margin-bottom: 25px; color: var(--text-secondary); line-height: 1.5; position: relative; z-index: 1; } .modal-buttons { display: flex; gap: 10px; position: relative; z-index: 1; } .modal-buttons .delete-btn { flex: 2; background-color: rgb(245, 19, 19); padding: 14px; border-radius: 8px; width: auto; height: auto; font-weight: 600; } .modal-buttons .delete-btn:hover { background-color: var(--danger); } .modal-buttons .cancel-btn { flex: 1; } /* Pagination Controls */ .pagination-controls { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 10px; padding: 10px; background-color: rgba(23, 24, 24, 0.808); border-radius: 8px; border: 1px solid var(--border); } .pagination-controls button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background-color: rgba(23, 24, 24, 0.808); color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; } .pagination-controls button:disabled { opacity: 0.5; cursor: not-allowed; } .pagination-controls button:not(:disabled):hover { background-color: var(--primary); } .pagination-controls span { color: var(--text-secondary); font-size: 14px; } /* Sprite Search */ .sprite-search { margin-bottom: 10px; } /* Custom scrollbar */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: rgba(23, 24, 24, 0.808); border-radius: 3px; } ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); } /* Tooltip */ .tooltip { position: relative; display: inline-block; } .tooltip .tooltiptext { visibility: hidden; width: 120px; background-color: rgba(23, 24, 24, 0.808); color: var(--text); text-align: center; border-radius: 6px; padding: 5px; position: absolute; z-index: 1; bottom: 125%; left: 50%; margin-left: -60px; opacity: 0; transition: opacity 0.3s; font-size: 12px; border: 1px solid var(--border); } .tooltip:hover .tooltiptext { visibility: visible; opacity: 1; } /* Toggle Switch */ .toggle-switch { display: flex; align-items: center; gap: 10px; } .toggle-switch input[type="checkbox"] { height: 0; width: 0; visibility: hidden; position: absolute; } .toggle-label { display: flex; align-items: center; justify-content: space-between; cursor: pointer; width: 50px; height: 26px; background: rgba(23, 24, 24, 0.808); border-radius: 100px; position: relative; transition: background-color 0.2s; border: 1px solid var(--border); } .toggle-label .toggle-inner { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 45px; transition: 0.2s; background: var(--text); } .toggle-switch input:checked + .toggle-label { background: var(--primary); } .toggle-switch input:checked + .toggle-label .toggle-inner { left: calc(100% - 2px); transform: translateX(-100%); } .toggle-text { color: var(--text-secondary); font-size: 14px; min-width: 30px; } .help-text { font-size: 12px; color: var(--text-secondary); margin-top: 5px; opacity: 0.8; } /* Custom Image Section */ .custom-sprite-section { margin-top: 20px; position: relative; z-index: 1; } .section-divider { display: flex; align-items: center; text-align: center; margin: 15px 0; } .section-divider::before, .section-divider::after { content: ''; flex: 1; border-bottom: 1px solid var(--border); } .section-divider span { padding: 0 10px; color: var(--text-secondary); font-size: 14px; font-weight: 600; } .custom-image-preview { margin-top: 10px; width: 100%; height: 100px; border-radius: 8px; border: 1px solid var(--border); overflow: hidden; display: flex; justify-content: center; align-items: center; background-color: rgba(23, 24, 24, 0.808); } .custom-image-preview img { max-width: 100%; max-height: 100%; object-fit: contain; } /* Update blip-item to show custom images */ .blip-item .sprite-icon { background-size: cover; background-position: center; } .custom-image-tag { color: var(--primary); font-weight: 500; } .blip-preview { width: 40px; height: 40px; margin-right: 10px; border-radius: 50%; overflow: hidden; border: 1px solid var(--border); } .custom-sprite-thumbnail { width: 100%; height: 100%; object-fit: cover; } .custom-image-preview { margin-top: 10px; width: 100%; height: 120px; border-radius: 8px; border: 1px solid var(--border); overflow: hidden; display: flex; justify-content: center; align-items: center; background-color: rgba(23, 24, 24, 0.808); position: relative; } .custom-image-preview img { max-width: 100%; max-height: 100%; object-fit: contain; } .notification { position: fixed; top: 20px; right: 20px; padding: 15px 20px; border-radius: 8px; color: var(--text); font-size: 14px; z-index: 2000; animation: slideIn 0.3s ease forwards; max-width: 300px; } .notification.info { background-color: rgba(240, 127, 22, 0.9); border-left: 4px solid var(--primary); } .notification.error { background-color: rgba(255, 58, 94, 0.9); border-left: 4px solid var(--danger); } .notification.success { background-color: rgba(238, 106, 18, 0.9); border-left: 4px solid var(--success); } .notification.fade-out { animation: fadeOut 0.3s ease forwards; } @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }