/* ========================================================
   Ground Up Tasks — Screen-Specific Styles
   Login, Home, Task Detail, Notifications, Profile
   ======================================================== */

/* ---- Login Screen ---- */
#login-screen {
  justify-content: center;
  padding: 40px 32px;
}

.login-logo {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary) 0%, #a855f7 100%);
  border-radius: 20px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.3);
}

.login-logo span {
  font-size: 36px;
  color: #ffffff;
}

.login-header h1 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(to right, #111827, #4b5563);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.login-header p {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 40px;
}

/* ---- Home Screen ---- */
.home-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.home-header .greeting {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.home-header .name {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 2px;
  letter-spacing: -0.5px;
}

.profile-pill {
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.profile-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-color-hover);
}

/* ---- Task Detail Screen ---- */
.detail-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.detail-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 4px;
}

.detail-meta-pill {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-meta-pill .material-icons {
  font-size: 18px;
  color: var(--text-dark);
}

.detail-desc-box {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
  padding: 18px;
  border-radius: 18px;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}

.detail-actions-row {
  display: flex;
  gap: 10px;
}

/* ---- Update Log ---- */
.updates-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.update-log-item {
  background: rgba(0, 0, 0, 0.015);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary);
  border-radius: 0 16px 16px 0;
  padding: 16px;
  margin-bottom: 12px;
}

.update-log-item p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-main);
}

.update-log-item .time {
  font-size: 11px;
  color: var(--text-dark);
  margin-top: 8px;
  font-weight: 500;
}

/* ---- Notification Cards ---- */
.notif-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

.notif-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
}

.notif-card.unread {
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.02);
}

.notif-card .icon-col {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.notif-card.unread .icon-col {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
}

.notif-card .info-col { flex: 1; }

.notif-card .notif-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.notif-card .notif-msg {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 6px;
}

.notif-card .notif-time {
  font-size: 11px;
  color: var(--text-dark);
  font-weight: 500;
}

.notif-unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  position: absolute;
  top: 22px;
  right: 20px;
}

/* ---- Profile Screen ---- */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.profile-avatar-wrapper {
  width: 84px;
  height: 84px;
  background: rgba(99, 102, 241, 0.1);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15);
}

.profile-avatar-wrapper .material-icons {
  font-size: 44px;
  color: var(--primary);
  font-variation-settings: 'wght' 300;
}

.profile-name-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
}

.profile-role-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

.connection-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 24px;
}

.connection-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.connection-status-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}

.connection-status-row span:last-child {
  color: var(--text-muted);
}
