/* Import Google Font */ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap'); html { box-sizing: border-box; width: 100%; overflow-x: hidden; } *, *::before, *::after { box-sizing: inherit; } body { background-color: #f5f7fa; margin: 0; font-family: 'Inter', Arial, sans-serif; color: #333; min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 40px 20px; transition: background-color 0.3s ease, color 0.3s ease; width: 100%; } body.dark-mode { background-color: #121212; color: #f5f5f5; } .container { width: 100%; max-width: 600px; text-align: center; padding: 20px; } form, .email-output { padding: 25px; background-color: #ffffff; border-radius: 12px; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); margin-top: 20px; transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease; } body.dark-mode form, body.dark-mode .email-output { background-color: #1e1e1e; color: #f5f5f5; } label { font-weight: bold; display: block; margin-bottom: 8px; } textarea, select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; resize: vertical; margin-bottom: 15px; } button { background-color: #3498db; color: white; padding: 12px 20px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; transition: background-color 0.3s ease, transform 0.3s ease; width: 100%; } button:hover { background-color: #2980b9; transform: translateY(-2px); } button + button { margin-top: 10px; } #copyBtn { background-color: #2ecc71; } #copyBtn:hover { background-color: #27ae60; } .back-link { display: inline-block; margin-top: 15px; color: #3498db; text-decoration: none; } .back-link:hover { text-decoration: underline; } #toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background-color: #2ecc71; color: white; padding: 12px 20px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); transition: opacity 0.3s ease, visibility 0.3s ease; opacity: 0; visibility: hidden; pointer-events: none; z-index: 9999; } #toast.show { opacity: 1; visibility: visible; } @media (max-width: 600px) { .container { padding: 10px; } form, .email-output { padding: 15px; } button { padding: 10px; } } .email-output button { margin-top: 10px; } .email-output pre { white-space: pre-wrap; word-wrap: break-word; } .auth-box { max-width: 400px; margin: auto; padding: 20px; border-radius: 10px; background: #fff; transition: all 0.5s ease; box-shadow: 0 0 10px rgba(0,0,0,0.1); } .auth-box.hidden { display: none; } .auth-box h2 { text-align: center; } .auth-box .error { color: red; text-align: center; margin-bottom: 10px; } .auth-box input, .auth-box button { display: block; width: 100%; margin: 10px 0; } /* Navbar styling */ .navbar { display: flex; justify-content: space-between; /* logo left, links right */ align-items: center; background-color: #fff; padding: 15px 30px; border-bottom: 1px solid #ddd; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } .navbar .logo { font-size: 1.5em; font-weight: bold; color: #333; } .navbar .nav-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; } .navbar .nav-links li { display: inline; } .navbar .nav-links a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.2s ease; } .navbar .nav-links a:hover, .navbar .nav-links a.active { color: #007bff; /* highlight */ } .connect-buttons button { margin: 8px; padding: 10px 18px; font-size: 14px; border-radius: 8px; border: none; cursor: pointer; background: #444; color: #fff; transition: background 0.2s; } .connect-buttons button:hover { background: #666; } table.inbox { width: 100%; margin-top: 15px; border-collapse: collapse; } table.inbox th, table.inbox td { padding: 10px; border-bottom: 1px solid #333; text-align: left; } table.inbox tr:hover { background: #222; } /* Dashboard Layout */ .dashboard { display: flex; min-height: 100vh; } /* Sidebar */ .sidebar { width: 220px; background: #111827; /* dark slate */ color: #fff; padding: 20px; display: flex; flex-direction: column; } .sidebar .logo { font-size: 20px; font-weight: bold; margin-bottom: 30px; text-align: center; } .sidebar ul { list-style: none; padding: 0; margin: 0; } .sidebar ul li { margin: 15px 0; } .sidebar ul li a { color: #d1d5db; text-decoration: none; font-size: 16px; display: block; padding: 8px; border-radius: 8px; transition: 0.2s; } .sidebar ul li a:hover { background: #374151; color: #fff; } /* Main Content */ .main-content { flex: 1; padding: 40px; background: #f3f4f6; } .dark-mode .main-content { background: #1f2937; color: #f3f4f6; } /* Force full-width flex layout */ body, html { margin: 0; padding: 0; height: 100%; } /* Dashboard wrapper */ .dashboard { display: flex; min-height: 100vh; } /* Sidebar */ .sidebar { width: 220px; background: #0f172a; color: #fff; padding: 20px; margin: 0; /* REMOVE spacing */ position: fixed; /* Stick to left */ top: 0; left: 0; bottom: 0; } /* Main content area */ .main-content { margin-left: 220px; /* Push content to the right of sidebar */ padding: 30px; flex: 1; }