* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, sans-serif; }
body { background: #0f172a; color: #f1f5f9; text-align: center; direction: ltr; }

/* Navbar */
.navbar { background: #1e293b; padding: 15px; border-bottom: 2px solid #38bdf8; position: sticky; top: 0; z-index: 100; }
.navbar ul { display: flex; justify-content: center; list-style: none; gap: 25px; }
.navbar a { color: #cbd5e1; text-decoration: none; font-weight: bold; transition: 0.3s; }
.navbar a:hover { color: #38bdf8; }

/* Container */
.container { padding: 40px 20px; }
.page { display: none; background: #1e293b; max-width: 850px; margin: auto; padding: 35px; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.4); }
.page.active { display: block; animation: fadeIn 0.4s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Shared Inputs & Buttons */
input { padding: 12px; border-radius: 6px; border: 1px solid #334155; background: #0f172a; color: #fff; margin: 5px; outline: none; }
input:focus { border-color: #38bdf8; }
button { padding: 12px 20px; border: none; background: #38bdf8; color: #0f172a; font-weight: bold; cursor: pointer; border-radius: 6px; }
button:hover { background: #0ea5e9; }

/* Projects Specifics */
.input-box { display: flex; gap: 10px; margin-bottom: 20px; }
.input-box input { flex: 1; }
#taskList { list-style: none; text-align: left; }
#taskList li { background: #334155; padding: 12px; margin-bottom: 10px; border-radius: 6px; display: flex; justify-content: space-between; align-items: center; }

.palette-container { display: flex; gap: 15px; justify-content: center; margin-top: 25px; flex-wrap: wrap; }
.color-box { width: 120px; height: 160px; border-radius: 10px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 15px; font-size: 13px; font-weight: bold; }

.table-inputs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.table-inputs button { grid-column: span 3; }
table { width: 100%; border-collapse: collapse; margin-top: 15px; background: #0f172a; }
th, td { border: 1px solid #334155; padding: 15px; text-align: center; }
th { background: #334155; color: #38bdf8; }
