:root {
    --brand: #608FFF;
    --brand-dark: #4f7ae0;
    --ink: #1f2d3d;
    --muted: #6b7a90;
    --card: #ffffff;
    --bg: #ecf2ff;
    --accent: #ff9190;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    --radius: 14px;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background: radial-gradient(120% 90% at 20% 20%, #f8fbff 0%, #dfe8ff 45%, #c3d5ff 100%);
    font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    padding: 28px 16px 42px;
}

main {
    width: min(580px, 100%);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.banner-container {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.banner {
    width: 100%;
    display: block;
}

.content {
    position: relative;
    width: 100%;
    border-radius: var(--radius);
    background: linear-gradient(140deg, #6ea2ff 0%, #5b8dff 60%, #3d6ce6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 72px 24px 26px;
    box-shadow: var(--shadow);
}

.pfp-container {
    position: absolute;
    top: -48px;
    display: grid;
    place-items: center;
}

.pfp {
    background-color: #fff;
    background-image: url('./500x500-Logo.png');
    background-size: cover;
    border: solid 4px #fff;
    border-radius: 50%;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2);
    height: 110px;
    width: 110px;
}

.name-role {
    text-align: center;
    color: #f8fbff;
    margin-top: 56px;
}

.name-role h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}

.name-role h4 {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.quick-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, 0.14);
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(6px);
    flex-wrap: wrap;
    justify-content: center;
}

.quick-action {
    width: 46px;
    height: 46px;
    background: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transition: transform 120ms ease, box-shadow 120ms ease;
}

.quick-action a {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

.quick-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

.quick-action img {
    width: 22px;
    height: 22px;
}

.card {
    background-color: var(--card);
    width: 100%;
    border-radius: var(--radius);
    margin: 6px 0;
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow);
}

.heading {
    display: flex;
    align-items: center;
    color: var(--brand);
    gap: 10px;
}

.heading img {
    width: 22px;
    height: 22px;
}

.heading h3 {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 2px;
}

.save-btn {
    background-color: var(--card);
    color: var(--brand);
    border: 1px solid rgba(96, 143, 255, 0.35);
    padding: 8px 14px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, color 120ms ease;
    white-space: nowrap;
}

.save-btn:hover {
    background-color: var(--brand);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}

.save-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.field label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand);
}

.field-value {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.field-value a {
    color: var(--brand);
    text-decoration: none;
}

.field-value a:hover {
    color: var(--accent);
    text-decoration: underline;
}

hr {
    border: none;
    height: 1px;
    margin: 10px 0 4px;
    background-color: #eceef7;
}

.body-text {
    margin: 2px 0 4px;
    color: var(--muted);
    line-height: 1.5;
}

.body-link {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
}

.body-link:hover {
    color: var(--brand-dark);
    text-decoration: underline;
}

.map-btn {
    align-self: flex-start;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.14);
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.map-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.map-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

/* Mobile tweaks */
@media (max-width: 640px) {
    body {
        padding: 18px 12px 32px;
    }

    main {
        gap: 12px;
    }

    .content {
        padding: 68px 18px 22px;
        border-radius: 18px;
    }

    .pfp {
        height: 100px;
        width: 100px;
    }

    .name-role h3 {
        font-size: 24px;
    }

    .quick-actions {
        gap: 8px;
        padding: 10px;
    }

    .quick-action {
        width: 44px;
        height: 44px;
    }

    .card {
        padding: 14px 14px 16px;
        margin: 4px 0;
    }

    .save-btn {
        font-size: 11px;
        padding: 7px 12px;
    }

    .map-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .name-role h3 {
        font-size: 22px;
    }

    .field-value {
        font-size: 15px;
    }

    .heading img {
        width: 20px;
        height: 20px;
    }
}
