:root {
  --bg: #0a0b14;
  --panel: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.18);
  --text: #f2f4ff;
  --muted: rgba(255, 255, 255, 0.6);
  --accent: #8f7cff;
  --accent2: #4da6ff;
  --danger: #ff4d4d;
  --success: #4dff88;
  --shadow: 0 18px 40px rgba(0,0,0,0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
}

/* Dashboard Layout */
.dashboard {
  display: flex;
  min-height: 100vh;
}

/* LEFT PANEL */
.panel-left {
  width: 320px;
  background: var(--panel);
  padding: 20px;
  backdrop-filter: blur(15px);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.panel-header h2 {
  font-size: 1.5rem;
  color: var(--accent);
}

.panel-header span {
  background: var(--accent);
  color: #fff;
  padding: 5px 10px;
  border-radius: 12px;
  font-weight: bold;
}

.meetings-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.meeting-card {
  padding: 12px;
  background: var(--glass);
  border-left: 6px solid var(--accent);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.meeting-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

.meeting-card h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.meeting-card p {
  font-size: 0.85rem;
  color: var(--muted);
}

.meeting-card .meeting-actions {
  margin-top: 5px;
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}

.btn-add {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-add:hover {
  background: var(--accent2);
}

/* RIGHT PANEL */
.panel-right {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.clock-container {
  text-align: center;
}

.live-clock {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--accent);
}

.next-meeting h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.next-info {
  background: var(--glass);
  padding: 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.next-info span {
  font-size: 1rem;
}

.meeting-links a {
  text-decoration: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  margin-right: 5px;
  font-weight: bold;
  transition: 0.2s;
}

.meeting-links a.google {
  background: #34a853;
}

.meeting-links a.zoom {
  background: #2d8cff;
}

.meeting-links a.other {
  background: var(--accent);
}

.meeting-links a:hover {
  opacity: 0.8;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--panel);
  padding: 25px;
  border-radius: 15px;
  width: 400px;
  max-width: 95%;
  backdrop-filter: blur(15px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: fadeIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.modal-header h2 {
  font-size: 1.3rem;
  color: var(--accent);
}

.close-modal {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--muted);
}

.close-modal:hover {
  color: var(--accent2);
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-body input,
.modal-body select {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--glass);
  color: var(--text);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 15px;
  gap: 10px;
}

.btn-save {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
}

.btn-save:hover {
  background: var(--accent2);
}

.btn-delete {
  background: var(--danger);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {opacity:0; transform: translateY(-10px);}
  to {opacity:1; transform: translateY(0);}
}
/* MEETING BUTTONS */
.btn-add {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 15px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-add:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.55);
}

.btn-add:active {
  transform: translateY(0);
  box-shadow: 0 6px 15px rgba(0,0,0,0.45);
}

/* SMALLER BUTTONS INSIDE CARDS */
.meeting-card .meeting-actions button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s;
}

.meeting-card .meeting-actions button:hover {
  background: var(--accent2);
  transform: translateY(-1px);
}
.btn-home {
  margin-top: auto; /* sticks to the bottom */
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 12px;
  width: 100%;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.btn-home:hover {
  background: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}
