/* sign-in card */
.auth-wrap {
  max-width: 560px;
  margin: 40px auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.field input {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}
.error {
  color: #b00020;
  font-size: 0.9rem;
  margin-top: 6px;
}

/* pills & small text reused elsewhere */
.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.85rem;
}
.muted.small {
  font-size: 0.9rem;
}

/* === DASHBOARD LAYOUT === */
.td-dashboard {
  margin: 40px auto;
  max-width: 1000px;
}

.td-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.td-dashboard-header h1 {
  margin: 0;
}

.td-dashboard-meta {
  margin-bottom: 24px;
}

.dashboard-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
  margin-bottom: 24px;
}

.dashboard-section h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

/* basic table styling */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.data-table thead {
  text-align: left;
}
.data-table th,
.data-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tbody tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
}

.text-right {
  text-align: right;
}

.link-button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

/* recommendation cards (unchanged from before) */
.recommend-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.rec-card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.rec-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.rec-card .body {
  padding: 12px;
  display: grid;
  gap: 6px;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.actions {
  display: flex;
  gap: 10px;
}
/* footer area under recommendations */
.rec-footer {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.rec-footer .btn {
  min-width: 190px;
  text-align: center;
}


/* Errors */
.error {
  color: #c62828;
  font-weight: 600;
  margin-top: 8px;
}

.brand {
  font-size: 25px;
}

body {
  overflow: hidden;
}

.circle{
  overflow: hidden;
  position: absolute;
  border-radius: 50%;
  background: var(--mainColor);
  box-shadow: 0px 0px 1px 0px #508fb9;
  animation: ripple 30s infinite;
  opacity: 0.10;
  z-index: -1;
  pointer-events: none;
}

.small2{
  width: 200px;
  height: 200px;
  right: -80px;
  top: -80px;
}

.medium{
  width: 400px;
  height: 400px;
  right: -150px;
  top: -150px;
}

.large{
  width: 600px;
  height: 600px;
  right: -220px;
  top: -220px;
}

.xlarge{
  width: 800px;
  height: 800px;
  right: -300px;
  top: -300px;
}

.xxlarge{
  width: 1000px;
  height: 1000px;
  right: -380px;
  top: -380px;
}

.shade1{
  opacity: 0.4;
}
.shade2{
  opacity: 0.7;
}

.shade3{
  opacity: 0.7;
}

.shade4{
  opacity: 0.8;
}

.shade5{
  opacity: 0.9;
}

@keyframes ripple{
  0%{
    transform: scale(0.8);
  }
  
  50%{
    transform: scale(1.2);
  }
  
  100%{
    transform: scale(0.8);
  }
}