/* _content/PersonalPageApp/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-quarfe5uhy] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-quarfe5uhy] {
    flex: 1;
}

.sidebar[b-quarfe5uhy] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-quarfe5uhy] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-quarfe5uhy]  a, .top-row[b-quarfe5uhy]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-quarfe5uhy]  a:hover, .top-row[b-quarfe5uhy]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-quarfe5uhy]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-quarfe5uhy] {
        justify-content: space-between;
    }

    .top-row[b-quarfe5uhy]  a, .top-row[b-quarfe5uhy]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-quarfe5uhy] {
        flex-direction: row;
    }

    .sidebar[b-quarfe5uhy] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-quarfe5uhy] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-quarfe5uhy]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-quarfe5uhy], article[b-quarfe5uhy] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-quarfe5uhy] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-quarfe5uhy] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/PersonalPageApp/Components/Pages/Home.razor.rz.scp.css */
:root[b-ah9ovbasg8] {
  --bg: #f5f7fb;
  --fg: #111827;
  --muted: #6b7280;
  --accent: #2563eb;
  --link: #1d4ed8;
  --card: #ffffff;
  --card-border: #e5e7eb;
  --btn-bg: #f8fafc;
  --btn-hover: #eef2f7;
  --btn-border: #dbe2ea;
}

:host[b-ah9ovbasg8] { display: block; }

body[b-ah9ovbasg8] {
    margin: 0px;
}

/* Light page background */
.page[b-ah9ovbasg8] {
  height: 100dvh; /* lock to viewport height */
  min-height: 100dvh;
  display: flex;
  flex-direction: column; /* stack center + footer */
  overflow: hidden; /* prevent page scroll */
  background:
    radial-gradient(1200px 600px at 50% -20%, rgba(37, 99, 235, 0.06), transparent 60%),
    linear-gradient(180deg, var(--bg), #f3f4f6);
  color: var(--fg);
}

/* Center area takes the free space and centers the card */
.center[b-ah9ovbasg8] {
  flex: 1 0 auto;
  display: flex;
  align-items: center;  /* vertical centering */
  justify-content: center; /* horizontal centering */
  width: 100%;
  padding: 1rem; /* breathing room on small screens */
}

footer[b-ah9ovbasg8] {
  width: 100%;
  padding: 1rem;
}

.footer[b-ah9ovbasg8] {
    color: grey;
    text-align: center;
    margin: 0;
}

/* Card */
.card[b-ah9ovbasg8] {
  width: min(760px, 92vw);
  max-height: calc(100dvh - 5rem); /* ensure card + footer fit viewport */
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 1.25rem;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  color: var(--fg);
  padding: 1.25rem;
  /* remove base transform to avoid adding to height during animation */
  opacity: 0;
  animation: fadeUp-b-ah9ovbasg8 600ms ease-out forwards;
}

.card-header[b-ah9ovbasg8] {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem 0.25rem 1rem;
  border-bottom: 1px solid var(--card-border);
}

.avatar[b-ah9ovbasg8] {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.15), transparent 40%), #e5e7eb;
  border: 1px solid var(--btn-border);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
}

.avatar img[b-ah9ovbasg8] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hide broken/empty avatar */
.avatar img[src=""][b-ah9ovbasg8], .avatar img:not([src])[b-ah9ovbasg8] { display: none; }

.title[b-ah9ovbasg8] { display: grid; gap: 0.25rem; }

.name[b-ah9ovbasg8] {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0;
}

.tagline[b-ah9ovbasg8] {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--muted);
  margin: 0;
}

/* Contacts as buttons */
.contacts[b-ah9ovbasg8] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1rem 0 0.5rem;
}

.btn[b-ah9ovbasg8] {
  --ring: 0 0 0 0 rgba(37, 99, 235, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid var(--btn-border);
  color: var(--fg);
  text-decoration: none;
  background: linear-gradient(180deg, var(--btn-bg), #f3f6fb);
  box-shadow: var(--ring), inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform 160ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover[b-ah9ovbasg8],
.btn:focus-visible[b-ah9ovbasg8] {
  transform: translateY(-1px);
  background: linear-gradient(180deg, var(--btn-hover), #eef2f7);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--btn-border));
  box-shadow: 0 6px 22px rgba(17, 24, 39, 0.1), 0 0 0 6px rgba(37, 99, 235, 0.08);
}

.btn:active[b-ah9ovbasg8] { transform: translateY(0); }

.btn-label[b-ah9ovbasg8] { font-weight: 600; letter-spacing: 0.01em; }

/* Interests */
.interests[b-ah9ovbasg8] { 
    padding: 1.25rem 0 0.1rem; 
}

.interests h2[b-ah9ovbasg8] {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0.25rem 0 0.75rem;
}

.bullets[b-ah9ovbasg8] {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 425px) {
  .bullets[b-ah9ovbasg8] { grid-template-columns: 1fr 1fr; }
}

.bullets li[b-ah9ovbasg8] {
  background: #f8fafc;
  border: 1px solid var(--card-border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  line-height: 1.5;
  transform: translateY(8px);
  opacity: 0;
  animation: fadeUp-b-ah9ovbasg8 450ms ease-out forwards;
}

.bullets li:nth-child(1)[b-ah9ovbasg8] { animation-delay: 80ms; }
.bullets li:nth-child(2)[b-ah9ovbasg8] { animation-delay: 140ms; }
.bullets li:nth-child(3)[b-ah9ovbasg8] { animation-delay: 200ms; }
.bullets li:nth-child(4)[b-ah9ovbasg8] { animation-delay: 260ms; }

@keyframes fadeUp-b-ah9ovbasg8 {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
