@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap'); :root { --bg-color: #121212; --card-bg: #1e1e1e; --primary-color: #03dac6; --secondary-color: #bb86fc; --text-color: #e0e0e0; --title-color: #ffffff; --button-hover: #04d6b6; } body { margin: 0; padding: 20px; font-family: 'Cairo', sans-serif; background-color: var(--bg-color); color: var(--text-color); min-height: 100vh; direction: ltr; } h1 { text-align: center; margin-bottom: 40px; font-weight: 700; color: var(--primary-color); letter-spacing: 1px; } .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; } .card { background: var(--card-bg); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer; } .card:hover { transform: translateY(-8px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6); } .card svg { width: 60px; height: 60px; fill: var(--secondary-color); margin-bottom: 12px; } .card .title { font-size: 18px; font-weight: 700; color: var(--title-color); margin-bottom: 4px; } .card .desc { font-size: 12px; color: var(--text-color); opacity: 0.7; min-height: 30px; } /* Modal Styles */ .modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, 0.85); display: flex; justify-content: center; align-items: center; z-index: 1000; } .modal-content { background: var(--card-bg); padding: 30px; border-radius: 16px; width: 90%; max-width: 450px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7); position: relative; max-height: 90vh; overflow-y: auto; } .modal-close { position: absolute; top: 15px; right: 15px; font-size: 28px; font-weight: 700; cursor: pointer; color: var(--primary-color); } .modal-content h2 { text-align: center; color: var(--primary-color); margin-top: 0; margin-bottom: 20px; } .modal-content input, .modal-content textarea, .modal-content select { width: 100%; padding: 12px; margin-bottom: 15px; border-radius: 8px; border: 1px solid #333; background-color: #2a2a2a; color: var(--text-color); font-family: 'Cairo', sans-serif; font-size: 16px; } .modal-content button { width: 100%; padding: 12px; border-radius: 8px; border: none; background-color: var(--primary-color); color: var(--bg-color); font-weight: 700; font-size: 16px; cursor: pointer; transition: background-color 0.2s ease; } .modal-content button:hover { background-color: var(--button-hover); } .output { background: #2a2a2a; padding: 15px; margin-top: 15px; border-radius: 8px; font-family: monospace; white-space: pre-wrap; max-height: 150px; overflow-y: auto; color: #f8f8f2; } .modal-content label { display: block; margin-bottom: 5px; font-size: 14px; color: var(--text-color); } #stopwatchDisplay, #timerDisplay { font-size: 3em; margin: 20px 0; text-align: center; } #recorderStatus { text-align: center; margin-bottom: 15px; color: var(--primary-color); } #recorderButtons { display: flex; gap: 10px; } #recorderButtons button { flex: 1; } #imageCanvas { display: block; max-width: 100%; height: auto; margin: 15px auto; border: 1px dashed #555; }