:root {
  --bg-dark: #111827; /* Darker navy instead of off-black */
  --bg-light: #f7f9fc; /* Very light modern gray-blue */
  --text-white: #ffffff;
  --text-dark: #111827;
  --primary-blue: #2563eb; /* Modern vibrant blue */
  --primary-navy: #111827;
  --gray-light: #f3f4f6;
  --gray-mid: #9ca3af;
  --gray-border: #eef0f3;
  
  --status-confirmed: #dbeafe;
  --status-confirmed-text: #2563eb;
  --status-pending: #fef3c7;
  --status-pending-text: #d97706;
  --status-done: #d1fae5;
  --status-done-text: #059669;
  --status-cancelled: #fee2e2;
  --status-cancelled-text: #dc2626;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.landing-page {
  background-color: var(--bg-dark);
  color: var(--text-white);
  min-height: 100vh;
  border-top: 5px solid var(--primary-blue);
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #1d4ed8;
  text-decoration: none;
}

/* Cards */
.card {
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  padding: 30px;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(17, 24, 39, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(4px);
}
.modal.active {
  display: flex;
}

.modal-content {
  background: #fff;
  color: var(--text-dark);
  border-radius: 16px;
  width: 90%;
  max-width: 420px;
  padding: 40px 32px;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-mid);
  transition: color 0.2s;
}
.close-btn:hover { color: var(--text-dark); }

/* Forms */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9em;
  color: #374151;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95em;
  background-color: #f9fafb;
  transition: all 0.2s ease;
  color: #111827;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrapper input {
  width: 100%;
  padding-right: 44px !important; /* room for eye icon */
}
.password-wrapper .eye-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--gray-mid);
  font-size: 0.95em;
  z-index: 2;
  transition: color 0.2s;
  user-select: none;
}
.password-wrapper .eye-toggle:hover {
  color: var(--primary-blue);
}

/* Buttons */
.btn-navy {
  background-color: var(--primary-navy);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  width: 100%;
  font-size: 0.95em;
  transition: background 0.2s;
  text-align: center;
  display: inline-block;
}
.btn-navy:hover {
  background-color: #000;
  color: #fff;
}

.btn-blue {
  background-color: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95em;
  transition: background 0.2s;
}
.btn-blue:hover {
  background-color: #1d4ed8;
}

.btn-outline {
  background: #ffffff;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9em;
  transition: all 0.2s;
}
.btn-outline:hover {
  border-color: #d1d5db;
  background: #f9fafb;
  color: #111827;
}

.btn-danger {
  background-color: #ef4444;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.btn-danger:hover { background-color: #dc2626; }

.btn-success {
  background-color: #10b981;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.btn-success:hover { background-color: #059669; }

/* Badges */
.badge {
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.75em;
  font-weight: 600;
  display: inline-block;
}
.badge-confirmed { background: var(--status-confirmed); color: var(--status-confirmed-text); }
.badge-pending { background: var(--status-pending); color: var(--status-pending-text); }
.badge-done, .badge-completed { background: var(--status-done); color: var(--status-done-text); }
.badge-cancelled { background: var(--status-cancelled); color: var(--status-cancelled-text); }

/* Layouts */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}
.header-nav h1 { margin: 0; font-size: 1.5em; }

/* Dashboard Layout (Enhancing the sidebar design) */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 260px;
  background-color: #ffffff;
  border-right: 1px solid var(--gray-border);
  padding: 30px 20px;
}
.sidebar-logo {
  font-size: 1.4em;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 40px;
  padding-left: 15px;
}
.sidebar-nav {
  list-style: none;
  padding: 0; margin: 0;
}
.sidebar-nav li { margin-bottom: 8px; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #4b5563;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95em;
  transition: all 0.2s;
}
.sidebar-nav a i {
  font-size: 1.1em;
  width: 20px;
  text-align: center;
  color: #9ca3af;
  transition: color 0.2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background-color: var(--gray-light);
  color: var(--primary-navy);
  font-weight: 600;
}
.sidebar-nav a:hover i, .sidebar-nav a.active i {
  color: var(--primary-blue);
}

.main-content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 35px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-border);
}
.dashboard-header h2 {
  margin: 0 0 5px 0;
  font-size: 1.8em;
  font-weight: 700;
  color: var(--primary-navy);
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9em;
}
th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  font-size: 0.8em;
  letter-spacing: 0.05em;
}
td {
  color: #374151;
}

/* Auth Alerts */
.alert {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9em;
  font-weight: 500;
}
.alert-error {
  background: var(--status-cancelled);
  color: var(--status-cancelled-text);
  border: none;
}
.alert-success {
  background: var(--status-done);
  color: var(--status-done-text);
  border: none;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  overflow-x: auto;
  padding-bottom: 5px;
  border-bottom: none;
}
.tab-btn {
  background: #ffffff;
  color: #4b5563;
  border: 1px solid #e5e7eb;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.tab-btn:hover {
  border-color: #d1d5db;
  background: #f9fafb;
}
.tab-btn.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}


/* New Designer Developer Modal Layout */
.dev-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(5px); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.dev-modal-wrap { background: #fff; width: 900px; max-width: 95%; max-height: 90vh; border-radius: 16px; display: flex; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.3); animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.dev-close { position: absolute; top: 15px; right: 20px; font-size: 28px; color: #9ca3af; cursor: pointer; z-index: 10; transition: color 0.2s; background: none; border: none; }
.dev-close:hover { color: #111827; }
.dev-sidebar { background: linear-gradient(145deg, #0f1c30, #1e3a8a); width: 320px; padding: 40px 30px; display: flex; flex-direction: column; align-items: center; color: #fff; flex-shrink: 0; }
.dev-avatar { width: 140px; height: 140px; border-radius: 50%; border: 4px solid rgba(255,255,255,0.2); box-shadow: 0 10px 20px rgba(0,0,0,0.2); margin-bottom: 20px; object-fit: cover; }
.dev-name { font-size: 1.8em; font-weight: 700; margin: 0; text-align: center; letter-spacing: 0.5px; }
.dev-role { font-size: 0.8em; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: #93c5fd; margin-top: 8px; margin-bottom: 30px; }
.dev-contact-list { width: 100%; display: flex; flex-direction: column; gap: 15px; margin-top: auto; }
.dev-contact-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.85em; color: #d1d5db; line-height: 1.4; }
.dev-contact-item i { margin-top: 3px; color: #60a5fa; width: 16px; text-align: center; }
.dev-main { padding: 40px; flex-grow: 1; overflow-y: auto; background: #f8fafc; }
.dev-section { margin-bottom: 35px; }
.dev-section:last-child { margin-bottom: 0; }
.dev-title { font-size: 1.1em; font-weight: 700; color: #1e293b; margin: 0 0 15px; display: flex; align-items: center; gap: 10px; border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; }
.dev-title i { color: #2563eb; }
.dev-text { color: #475569; font-size: 0.95em; line-height: 1.7; margin: 0; }
.dev-skills { display: flex; flex-wrap: wrap; gap: 10px; }
.dev-skill-pill { background: #fff; border: 1px solid #cbd5e1; color: #334155; padding: 6px 16px; border-radius: 30px; font-size: 0.85em; font-weight: 600; box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.dev-trivia-grid { display: grid; gap: 15px; }
.dev-quote { background: #fff; border-left: 4px solid #3b82f6; padding: 15px 20px; border-radius: 0 8px 8px 0; margin: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.03); }
.dev-quote strong { display: block; color: #0f172a; font-size: 0.95em; margin-bottom: 5px; }
.dev-quote p { font-size: 0.85em; color: #64748b; margin: 0; line-height: 1.6; }

