.parent{ padding: 6px; } .parentContainer { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f0f0; } .settingsContainer { border-radius: 20px; display: flex; flex-direction: column; width: 100%; max-width: 1200px; margin: 0 auto; background-color: #fff; box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1), 10px 0 10px rgba(0, 0, 0, 0.1); overflow: hidden; height: 100%; max-height: 900px; justify-content: center; } .header { display: flex; align-items: center; padding: 0 20px; border-bottom: 1px solid #e0e0e0; width: 100%; } .settingsWrapper { padding: 20px; width: 200px; border-right: 1px solid #e0e0e0; } .contentWrapper { display: flex; gap: 20px; flex-grow: 1; } .mainContent { height: 85vh; flex: 1; padding: 20px; overflow-y: auto; } .header h2 { margin: 0; font-size: 20px; color: #333; flex: 1; display: flex; justify-content: space-between; align-items: center; } .backArrow { cursor: pointer; margin-right: 15px; display: flex; align-items: center; font-size: 1.5rem; } .settingsWrapper { flex-grow: 1; text-align: center; } @media (max-width: 768px) { .settingsContainer { max-width: 100%; max-height: none; height: auto; padding: 10px; box-shadow: none; } .header { flex-direction: column; padding: 15px; text-align: center; } .settingsWrapper { width: 100%; border-right: none; border-bottom: 1px solid #e0e0e0; padding: 10px; } .contentWrapper { flex-direction: column; gap: 15px; padding: 10px; } .mainContent { padding: 10px; } .backArrow { margin-right: 0; justify-content: center; } }