@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600&display=swap'); * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Quicksand', 'Segoe UI', 'Roboto', Arial, sans-serif; background-color: #f8f9fa; color: #333333; width: 450px; height: 600px; overflow: hidden; } .container { width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden; } .view { width: 100%; height: 100%; display: none; flex-direction: column; padding: 20px; opacity: 0; transform: translateX(100%); transition: opacity 0.3s ease, transform 0.3s ease; } .view.active { display: flex; opacity: 1; transform: translateX(0); } .header { text-align: center; margin-bottom: 15px; position: relative; } .header h2 { font-family: 'Quicksand', sans-serif; font-size: 28px; font-weight: 500; color: #000000; text-transform: none; letter-spacing: 0.5px; } #subapp-title { font-family: 'Quicksand', sans-serif; font-size: 24px; font-weight: 500; color: #000000; text-transform: none; } .back-btn { position: absolute; left: 0; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 16px; color: #000000; cursor: pointer; transition: color 0.3s ease; } .back-btn:hover { color: #333333; } .core-buttons { display: flex; justify-content: space-between; margin-bottom: 15px; } .core-btn { background-color: #000000; color: #ffffff; border: none; padding: 10px 15px; border-radius: 20px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; width: 48%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); } .core-btn:hover { background-color: #333333; box-shadow: 0 4px 8px rgba(0,0,0,0.15); } .search-container { margin-bottom: 15px; } #search-input { width: 100%; padding: 10px 15px; border: 1px solid #ced4da; border-radius: 20px; font-size: 14px; transition: all 0.3s ease; } #search-input:focus { border-color: #000000; outline: none; box-shadow: 0 0 0 2px rgba(0,0,0,0.1); } .button-container, .subapp-button-container { flex-grow: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 10px; background-color: #ffffff; border-radius: 12px; padding: 15px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); overflow-y: auto; max-height: calc(100vh - 200px); scrollbar-width: thin; scrollbar-color: #000000 #f8f9fa; } .button-container::-webkit-scrollbar, .subapp-button-container::-webkit-scrollbar { width: 6px; } .button-container::-webkit-scrollbar-track, .subapp-button-container::-webkit-scrollbar-track { background: #f8f9fa; } .button-container::-webkit-scrollbar-thumb, .subapp-button-container::-webkit-scrollbar-thumb { background-color: #000000; border-radius: 3px; } .btn { display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: #f8f9fa; border: 1px solid #e9ecef; border-radius: 10px; padding: 10px; width: 100%; height: 90px; cursor: pointer; transition: all 0.3s ease; text-align: center; } .btn:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); background-color: #e9ecef; } .btn img { width: 40px; height: 40px; margin-bottom: 8px; object-fit: contain; } .btn span { font-family: 'Quicksand', sans-serif; font-size: 11px; color: #333333; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; line-height: 1.2; } .btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; } .footer { margin-top: 15px; font-size: 11px; color: #6c757d; text-align: center; } @media (max-width: 420px) { .button-container, .subapp-button-container { grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); } .btn { height: 80px; } .btn img { width: 35px; height: 35px; } .btn span { font-size: 10px; } } @media (max-width: 320px) { .button-container, .subapp-button-container { grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); } .btn { height: 70px; } .btn img { width: 30px; height: 30px; } .btn span { font-size: 9px; } }