/* Base styles */ body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; width: 100%; height: 100%; margin: 0; padding: 0; scrollbar-gutter: stable; overflow-y: auto; } html { width: 100%; height: 100%; overflow-y: auto; } /* Form element autofill styles */ input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, textarea:-webkit-autofill, textarea:-webkit-autofill:hover, textarea:-webkit-autofill:focus, select:-webkit-autofill, select:-webkit-autofill:hover, select:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px transparent inset !important; transition: background-color 5000s ease-in-out 0s !important; } a { color: #ff00c3; } a:hover { color: #ff00c3; } code { font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace; color: #ff00c3; } /* Browser-specific elements */ #browser-actions { right: 0; overflow-x: hidden; } #browser-recorder { display: flex; justify-content: center; align-items: center; position: relative; box-sizing: border-box; width: calc(100% - 4rem); height: calc(100vh - 4rem); margin: 2rem 2rem 2rem 2rem; overflow: hidden; } #browser-content { height: 100%; width: 100%; display: flex; flex-direction: column; transform: scale(1); transform-origin: top left; } #browser-window { overflow-y: auto; height: 100%; } .right-side-panel { margin-left: 1.5rem; transform: scale(1); transform-origin: top left; overflow: hidden; position: relative; } .MuiButton-root[sx*="position: 'absolute'"] { bottom: 2rem !important; margin-bottom: 0 !important; } /* Consistent layout across all screen sizes */ @media screen and (min-width: 1024px) { #browser-recorder { width: calc(100% - 4rem); height: calc(100vh - 4rem); margin: 2rem 2rem 2rem 2rem; } } /* Adjust for very small screens */ @media screen and (max-width: 1023px) { #browser-recorder { width: calc(100% - 2rem); height: calc(100vh - 3rem); margin: 1.5rem 1rem 1.5rem 1rem; } .right-side-panel { margin-left: 1rem; } } /* Adjust for very large screens - prevent content from stretching too much */ @media screen and (min-width: 2000px) { #browser-recorder { width: 1800px; margin: 2rem auto 2rem auto; } }