/* User Profile Styles */

:root {
  /* BCC red brand colors */
  --brand-h: 354; --brand-s: 86%; --brand-l: 54%;          /* BCC red */
  --brand: hsl(var(--brand-h) var(--brand-s) var(--brand-l));
  --brand-600: hsl(var(--brand-h) var(--brand-s) calc(var(--brand-l) - 8%));
  --brand-700: hsl(var(--brand-h) var(--brand-s) calc(var(--brand-l) - 14%));

  /* dark neutrals */
  --bg:    hsl(222 18% 8%);     /* page */
  --surface:hsl(222 18% 12%);    /* cards/sections */
  --text:  hsl(0 0% 98%);
  --muted: hsl(220 10% 66%);
  --line:  hsl(220 12% 20%);

  --radius: 12px;
  --shadow-1: 0 1px 2px rgba(0,0,0,.35);
  --shadow-2: 0 10px 40px rgba(0,0,0,.45);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    /* Procedural dots background */
    background:
        radial-gradient(hsl(0 0% 100% / .06) 1px, transparent 1px) 0 0 / 22px 22px,
        radial-gradient(hsl(0 0% 100% / .03) 1px, transparent 1px) 11px 11px / 22px 22px,
        var(--bg);
}

.header-top {
    text-align: left;
    margin-bottom: 1.5rem;
}

.back-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.back-button:hover {
    background: hsl(0 0% 100% / .1);
    border-color: hsl(0 0% 100% / .5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.profile-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-2);
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-header h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.profile-header p {
    font-size: 1rem;
    color: var(--muted);
}

.profile-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
}

.profile-details .label {
    font-weight: 600;
    color: var(--text);
}

.profile-details .value {
    color: var(--muted);
}
