/* Shared design for all pages, loaded as /style.css. Colors are defined here. */
:root {
    --bg: #07090d;
    --text: #f4f7fb;
    --muted: #8b97a6;
    --blue: #2f80e0;
    --cyan: #22d3ee;
    --glass: rgba(255, 255, 255, 0.045);
    --glass-line: rgba(255, 255, 255, 0.09);
    --gradient: linear-gradient(135deg, #2f80e0, #22d3ee);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
}

body {
    margin: 0;
    min-height: 100vh;
    padding: 28px 16px calc(36px + env(safe-area-inset-bottom));
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    /* Soft blue glow at the top, cyan glow at the bottom */
    background:
        radial-gradient(70% 38% at 50% 0%, rgba(47, 128, 224, 0.16), transparent 70%),
        radial-gradient(50% 30% at 100% 100%, rgba(34, 211, 238, 0.06), transparent 70%),
        var(--bg);
    background-attachment: fixed;
}

/* Faint dot grid, a nod to circuit boards */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
    mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.card {
    max-width: 440px;
    margin: 0 auto;
    padding: 34px 22px 22px;
    text-align: center;
    background: var(--glass);
    border: 1px solid var(--glass-line);
    border-radius: 30px;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.logo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 3px solid #fff;
    display: block;
    margin: 0 auto 22px;
    box-shadow: 0 0 22px rgba(47, 128, 224, 0.22);
}

h1 {
    margin: 0;
    font-size: clamp(1.6rem, 7vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.tagline {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* Round quick actions: call, mail, web */
.actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 30px 0 24px;
}

.action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}

.action .circle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 1px solid var(--glass-line);
    transition: transform 0.15s, background 0.15s, border-color 0.15s;
}

.action:hover .circle,
.action:active .circle {
    transform: translateY(-2px);
    background: rgba(47, 128, 224, 0.2);
    border-color: var(--blue);
}

svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.action svg {
    color: var(--cyan);
}

/* Details: phone and mail as text */
.details {
    text-align: left;
    border-top: 1px solid var(--glass-line);
}

.detail {
    display: block;
    padding: 14px 6px;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--glass-line);
}

.detail small {
    display: block;
    color: var(--muted);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.detail span {
    display: block;
    margin-top: 3px;
    font-size: 1.05rem;
    font-weight: 600;
    word-break: break-word;
}

.detail:hover span {
    color: var(--cyan);
}

.save {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    padding: 17px;
    border-radius: 18px;
    background: var(--gradient);
    color: #04121f;
    font-weight: 700;
    font-size: 1.02rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(47, 128, 224, 0.16);
    transition: transform 0.15s, box-shadow 0.15s;
}

.save:hover,
.save:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(34, 211, 238, 0.18);
}

.legal {
    margin-top: 22px;
    font-size: 0.75rem;
}

.legal a {
    color: var(--muted);
    margin: 0 9px;
    text-decoration: none;
}

.legal a:hover {
    color: var(--text);
}

/* Gentle entrance, switched off for people who prefer less motion */
@media (prefers-reduced-motion: no-preference) {
    .card>* {
        animation: rise 0.6s both ease-out;
    }

    .card>*:nth-child(2) {
        animation-delay: 0.08s;
    }

    .card>*:nth-child(3) {
        animation-delay: 0.16s;
    }

    .card>*:nth-child(4) {
        animation-delay: 0.24s;
    }

    .card>*:nth-child(5) {
        animation-delay: 0.32s;
    }

    @keyframes rise {
        from {
            opacity: 0;
            transform: translateY(14px);
        }
    }
}

/* Optional role under the name (employee pages) */
.role {
    margin: 8px 0 0;
    color: var(--cyan);
    font-size: 0.98rem;
    font-weight: 600;
}