
:root{
  --bg:#07111f;
  --bg-soft:#0b1625;
  --surface:#0f1b2a;
  --surface-2:#132235;
  --surface-3:#17283c;
  --border:rgba(255,255,255,.09);
  --border-strong:rgba(255,255,255,.15);
  --text:#f7fafc;
  --muted:#9aa8b8;
  --muted-2:#718096;
  --blue:#1677ff;
  --blue-2:#0b5fe7;
  --green:#25c46b;
  --yellow:#f3b33e;
  --red:#ff5c5c;
  --purple:#a56cff;
  --radius:16px;
  --shadow:0 18px 45px rgba(0,0,0,.28);
}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{line-height:1.45}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.page-shell{min-height:100vh;padding-bottom:82px}
.app-header{
  height:72px;display:flex;align-items:center;justify-content:space-between;
  padding:0 22px;border-bottom:1px solid var(--border);
  background:rgba(7,17,31,.92);backdrop-filter:blur(18px);position:sticky;top:0;z-index:20
}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.02em}
.brand img{width:34px;height:34px;object-fit:contain;border-radius:10px}
.brand-mark{width:34px;height:34px;border-radius:10px;background:var(--blue);display:grid;place-items:center;font-weight:900}
.header-actions{display:flex;align-items:center;gap:10px}
.avatar{width:38px;height:38px;min-width:38px;min-height:38px;flex:0 0 38px;overflow:hidden;border-radius:50%;display:grid;place-items:center;background:#204d79;border:1px solid rgba(255,255,255,.16);font-weight:700}
.icon-btn{width:40px;height:40px;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:12px;display:grid;place-items:center}
.container{width:min(1120px,calc(100% - 32px));margin:0 auto}
.content{padding:28px 0}
.eyebrow{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;font-weight:700}
h1,h2,h3,p{margin-top:0}
h1{font-size:30px;line-height:1.15;letter-spacing:-.035em;margin-bottom:8px}
h2{font-size:20px;letter-spacing:-.02em}
.muted{color:var(--muted)}
.card{background:linear-gradient(180deg,var(--surface),#0d1927);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:12px 16px;font-weight:700;transition:.18s}
.btn-primary{background:var(--blue);color:white}
.btn-primary:hover{background:var(--blue-2);transform:translateY(-1px)}
.btn-secondary{background:var(--surface-2);border:1px solid var(--border);color:var(--text)}
.btn-danger{background:rgba(255,92,92,.1);border:1px solid rgba(255,92,92,.25);color:#ff7474}
.grid{display:grid;gap:16px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:30px 0 14px}
.section-head h2{margin:0}
.badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}
.badge-green{color:#55e28f;background:rgba(37,196,107,.1);border:1px solid rgba(37,196,107,.18)}
.badge-blue{color:#63a6ff;background:rgba(22,119,255,.11);border:1px solid rgba(22,119,255,.18)}
.badge-yellow{color:#f6c15d;background:rgba(243,179,62,.1);border:1px solid rgba(243,179,62,.2)}
.badge-red{color:#ff7373;background:rgba(255,92,92,.1);border:1px solid rgba(255,92,92,.18)}
.dot{width:7px;height:7px;border-radius:50%;background:currentColor;display:inline-block}
.bottom-nav{
 position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(720px,100%);
 height:74px;background:rgba(8,18,31,.96);border-top:1px solid var(--border);
 backdrop-filter:blur(18px);display:grid;grid-template-columns:repeat(5,1fr);z-index:100
}
.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--muted-2);font-size:10px;font-weight:700}
.nav-item.active{color:#4d9aff}
.nav-item svg{width:20px;height:20px}
.list{display:grid;gap:10px}
.list-row{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--border);background:rgba(255,255,255,.018);border-radius:14px}
.list-icon{width:38px;height:38px;border-radius:11px;background:var(--surface-3);display:grid;place-items:center;flex:none}
.list-main{min-width:0;flex:1}
.list-title{font-size:14px;font-weight:750;margin-bottom:2px}
.list-sub{font-size:12px;color:var(--muted)}
.list-right{text-align:right;color:var(--muted);font-size:11px}
.search{display:flex;align-items:center;gap:10px;padding:11px 14px;background:var(--surface);border:1px solid var(--border);border-radius:13px}
.search input{border:0;outline:0;background:transparent;color:var(--text);width:100%;font-size:14px}
.search input::placeholder{color:var(--muted-2)}
.tabs{display:flex;gap:6px;padding:4px;background:var(--surface);border:1px solid var(--border);border-radius:12px;width:max-content;max-width:100%;overflow:auto}
.tab{border:0;background:transparent;color:var(--muted);padding:8px 13px;border-radius:9px;font-size:12px;font-weight:700;white-space:nowrap}
.tab.active{background:var(--blue);color:#fff}
.form-card{width:min(520px,100%);margin:40px auto;padding:28px}
.field{margin:0 0 16px}
.field label{display:block;font-size:12px;font-weight:750;margin:0 0 7px;color:#d7e0ea}
.field input,.field select,.field textarea{width:100%;padding:12px 13px;background:#0a1523;border:1px solid var(--border-strong);border-radius:11px;color:var(--text);outline:none}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#2f88ff;box-shadow:0 0 0 3px rgba(22,119,255,.12)}
.form-actions{margin-top:20px}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 50% 10%,rgba(22,119,255,.12),transparent 36%),var(--bg)}
.auth-logo{text-align:center;margin-bottom:24px}
.auth-logo img{width:66px;height:66px;object-fit:contain}
.auth-logo h1{font-size:25px;margin:8px 0 3px}
.auth-logo p{font-size:13px;color:var(--muted);margin:0}
.message{padding:11px 13px;border-radius:10px;background:rgba(255,92,92,.1);border:1px solid rgba(255,92,92,.2);color:#ff9292;font-size:13px;margin-bottom:16px}
.profile-hero{padding:24px;display:flex;align-items:center;gap:18px}
.profile-avatar{width:78px;height:78px;overflow:hidden;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#2a7de1,#174b83);font-size:25px;font-weight:800;border:3px solid rgba(255,255,255,.14)}.profile-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.profile-meta h2{margin:0 0 3px}
.profile-meta p{margin:0;color:var(--muted);font-size:13px}
.menu-card{overflow:hidden}
.menu-item{display:flex;align-items:center;gap:12px;padding:15px 17px;border-bottom:1px solid var(--border)}
.menu-item:last-child{border-bottom:0}
.menu-item svg{color:var(--muted);width:19px}
.menu-item span{flex:1;font-size:13px;font-weight:650}
.menu-item small{color:var(--muted-2)}
.hero{padding:38px 0 10px}
.hero-card{padding:26px;display:grid;grid-template-columns:1.35fr .65fr;gap:22px;align-items:center}
.hero h1{font-size:42px}
.hero p{color:var(--muted);max-width:620px}
.stat-card{padding:20px}
.stat-value{font-size:28px;font-weight:800}
@media(max-width:800px){
 .grid-3{grid-template-columns:1fr}
 .grid-2{grid-template-columns:1fr}
 .hero-card{grid-template-columns:1fr}
 .hero h1{font-size:34px}
 .app-header{padding:0 15px}
 .content{padding:20px 0}
}

.place-photo{height:230px;background-position:center;background-size:cover;background-repeat:no-repeat;position:relative}
.place-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,10,18,.08),rgba(3,10,18,.42))}
.attendance-hero{padding:18px;border:1px solid rgba(37,196,107,.22);background:rgba(37,196,107,.06);border-radius:14px}
.status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.status-stat{padding:14px;text-align:center;border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.02)}
.status-stat strong{display:block;font-size:24px;margin-top:4px}
.menu-screen{max-width:430px;margin:0 auto;padding:18px 0 8px}
.menu-profile{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid var(--border);margin-bottom:8px}
.menu-profile .avatar{width:46px;height:46px}
@media(max-width:520px){.status-grid{grid-template-columns:1fr 1fr 1fr}.list-row{align-items:flex-start}.list-right{white-space:nowrap}}

/* ABOUT */
.about-screen{max-width:760px;margin:0 auto}
.about-intro{max-width:620px;margin:4px 0 0;font-size:13px}
.about-brand-card{display:flex;align-items:center;gap:18px;padding:22px;margin-top:18px}
.about-brand-card img{width:66px;height:66px;object-fit:contain;border-radius:16px}
.about-brand-card h2{margin:8px 0 3px;font-size:20px}
.about-brand-card p{margin:0;font-size:13px}
.about-feature-grid{margin-bottom:6px}
.about-feature{padding:20px}
.about-feature svg{color:#63a6ff;margin-bottom:12px}
.about-feature h3{margin:0 0 5px;font-size:15px}
.about-feature p{font-size:12px;margin:0;line-height:1.6}
.team-card{padding:20px}
.team-person{display:flex;align-items:center;gap:14px}
.team-avatar{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#2a7de1,#174b83);font-weight:800;border:2px solid rgba(255,255,255,.14)}
.team-person h3{margin:0 0 2px;font-size:15px}
.team-person p{margin:0;font-size:12px}
.team-note{font-size:12px;line-height:1.7;margin:16px 0 0}
.about-version{padding:16px 18px;display:flex;justify-content:space-between;font-size:12px}
@media(max-width:520px){.about-brand-card{align-items:flex-start}.about-brand-card img{width:54px;height:54px}}
/* =========================================================
   UNIMAP AUTH + PROFILE UI
   ========================================================= */

:root {
    --unimap-bg: #050b14;
    --unimap-bg-2: #08111f;
    --unimap-card: #0c1726;
    --unimap-card-2: #101d2f;
    --unimap-border: rgba(255,255,255,.08);
    --unimap-text: #f5f7fb;
    --unimap-muted: #8997aa;
    --unimap-blue: #2489ff;
    --unimap-blue-2: #1268d8;
    --unimap-success: #31d17c;
    --unimap-danger: #ff6675;
}


/* =========================================================
   AUTH PAGES
   ========================================================= */

.auth-page {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 18px;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(36,137,255,.18),
            transparent 38%
        ),
        linear-gradient(
            180deg,
            var(--unimap-bg-2),
            var(--unimap-bg)
        );
}

.auth-wrapper {
    width: 100%;
    max-width: 480px;
}

.auth-brand {
    text-align: center;
    margin-bottom: 28px;
}

.auth-brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    margin-bottom: 12px;
}

.auth-brand-name {
    margin: 0;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -.04em;
}

.auth-brand-subtitle {
    margin: 6px 0 0;
    color: var(--unimap-muted);
    font-size: 13px;
}

.auth-card {
    width: 100%;
    padding: 28px;

    background: rgba(12,23,38,.94);
    border: 1px solid var(--unimap-border);
    border-radius: 24px;

    box-shadow:
        0 30px 80px rgba(0,0,0,.38),
        inset 0 1px 0 rgba(255,255,255,.025);

    backdrop-filter: blur(20px);
}

.auth-card h1 {
    margin: 0;
    color: var(--unimap-text);
    font-size: 27px;
    font-weight: 750;
    letter-spacing: -.03em;
}

.auth-description {
    margin: 8px 0 25px;
    color: var(--unimap-muted);
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   FORM ELEMENTS
   ========================================================= */

.unimap-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

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

.unimap-field label {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 650;
}

.unimap-field input,
.unimap-field select {
    width: 100%;
    min-height: 50px;

    padding: 0 14px;

    border: 1px solid var(--unimap-border);
    border-radius: 13px;

    outline: none;

    background: var(--unimap-card-2);
    color: var(--unimap-text);

    font-family: inherit;
    font-size: 14px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.unimap-field input::placeholder {
    color: #607086;
}

.unimap-field input:focus,
.unimap-field select:focus {
    border-color: rgba(36,137,255,.75);

    box-shadow:
        0 0 0 3px rgba(36,137,255,.11);
}

.unimap-field select {
    cursor: pointer;
}

.unimap-field select option {
    background: #101d2f;
    color: white;
}

.field-help {
    color: #65758a;
    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   PASSWORD
   ========================================================= */

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 55px;
}

.password-toggle {
    position: absolute;

    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    border: 0;
    background: transparent;

    color: #8290a3;

    padding: 8px;

    cursor: pointer;
}

.password-toggle:hover {
    color: white;
}


/* =========================================================
   PROFILE IMAGE UPLOAD
   ========================================================= */

.photo-upload-box {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 15px;

    border: 1px dashed rgba(36,137,255,.25);
    border-radius: 15px;

    background: rgba(36,137,255,.035);
}

.photo-preview,
.photo-placeholder {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    border-radius: 50%;
}

.photo-preview {
    object-fit: cover;
}

.photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(
        135deg,
        #2489ff,
        #1456a3
    );

    color: white;
    font-size: 20px;
    font-weight: 750;
}

.photo-upload-content {
    min-width: 0;
}

.photo-upload-title {
    color: white;
    font-size: 13px;
    font-weight: 650;
}

.photo-upload-description {
    margin-top: 3px;
    color: var(--unimap-muted);
    font-size: 11px;
}

.photo-upload-label {
    display: inline-block;

    margin-top: 7px;

    color: var(--unimap-blue);

    font-size: 12px;
    font-weight: 650;

    cursor: pointer;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.unimap-primary-button,
.primary-btn {
    width: 100%;
    min-height: 50px;

    border: 0;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--unimap-blue),
            var(--unimap-blue-2)
        );

    color: white;

    font-family: inherit;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 12px 28px rgba(36,137,255,.18);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.unimap-primary-button:hover,
.primary-btn:hover {
    transform: translateY(-1px);

    box-shadow:
        0 16px 32px rgba(36,137,255,.25);
}

.unimap-secondary-button,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 18px;

    border: 1px solid var(--unimap-border);
    border-radius: 13px;

    background: rgba(255,255,255,.035);
    color: white;

    text-decoration: none;

    font-size: 13px;
    font-weight: 650;

    cursor: pointer;
}

.unimap-secondary-button:hover,
.secondary-btn:hover {
    background: rgba(255,255,255,.07);
}


/* =========================================================
   AUTH FOOTER
   ========================================================= */

.auth-footer {
    margin-top: 20px;

    text-align: center;

    color: var(--unimap-muted);
    font-size: 13px;
}

.auth-footer a {
    color: var(--unimap-blue);
    font-weight: 650;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}


/* =========================================================
   REGISTER SECTIONS
   ========================================================= */

.register-section {
    margin-top: 25px;
    padding-top: 23px;

    border-top: 1px solid rgba(255,255,255,.06);
}

.register-section-title {
    margin-bottom: 15px;

    color: var(--unimap-blue);

    font-size: 11px;
    font-weight: 750;

    letter-spacing: .12em;
    text-transform: uppercase;
}


/* =========================================================
   PROFILE PAGE
   ========================================================= */

.profile-page {
    width: 100%;
    max-width: 720px;

    margin: 0 auto;

    padding: 25px 16px 60px;
}

.profile-hero {
    position: relative;

    padding: 30px 20px;

    text-align: center;

    background:
        radial-gradient(
            circle at top,
            rgba(36,137,255,.15),
            transparent 55%
        ),
        var(--unimap-card);

    border: 1px solid var(--unimap-border);
    border-radius: 25px;

    box-shadow: 0 25px 65px rgba(0,0,0,.25);
}

.profile-avatar-large,
.profile-initials-large {
    width: 108px;
    height: 108px;

    margin: 0 auto 15px;

    border-radius: 50%;
}

.profile-avatar-large {
    object-fit: cover;

    border: 3px solid rgba(36,137,255,.35);
}

.profile-initials-large {
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #2489ff,
            #1456a3
        );

    color: white;

    font-size: 32px;
    font-weight: 800;
}

.profile-name {
    margin: 0;

    color: white;

    font-size: 25px;
    font-weight: 750;

    letter-spacing: -.03em;
}

.profile-email {
    margin: 6px 0;

    color: var(--unimap-muted);
    font-size: 13px;
}

.profile-role {
    display: inline-flex;

    margin-top: 8px;
    padding: 6px 11px;

    border-radius: 999px;

    background: rgba(36,137,255,.1);
    border: 1px solid rgba(36,137,255,.18);

    color: #66adff;

    font-size: 10px;
    font-weight: 750;

    text-transform: uppercase;
    letter-spacing: .08em;
}


/* =========================================================
   PROFILE INFORMATION
   ========================================================= */

.profile-info-card {
    margin-top: 15px;

    padding: 21px;

    background: var(--unimap-card);

    border: 1px solid var(--unimap-border);
    border-radius: 20px;
}

.profile-info-title {
    margin-bottom: 18px;

    color: white;

    font-size: 15px;
    font-weight: 700;
}

.profile-info-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1px;

    overflow: hidden;

    border-radius: 14px;

    background: rgba(255,255,255,.06);
}

.profile-info-item {
    min-height: 82px;

    padding: 15px;

    background: var(--unimap-card-2);
}

.profile-info-item strong {
    display: block;

    margin-bottom: 7px;

    color: #728198;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .08em;
}

.profile-info-item span {
    display: block;

    color: #eef2f7;

    font-size: 13px;
    line-height: 1.45;

    overflow-wrap: anywhere;
}

.profile-actions {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 15px;
}

.profile-actions .secondary-btn {
    width: 100%;
}


/* =========================================================
   EDIT PROFILE
   ========================================================= */

.profile-edit-page {
    width: 100%;
    max-width: 720px;

    margin: 0 auto;

    padding: 25px 16px 60px;
}

.edit-header {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 20px;
}

.back-button {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--unimap-border);
    border-radius: 50%;

    background: rgba(255,255,255,.035);

    color: white;

    font-size: 27px;

    text-decoration: none;
}

.back-button:hover {
    background: rgba(255,255,255,.08);
}

.edit-header h1 {
    margin: 0;

    color: white;

    font-size: 23px;
    font-weight: 750;
}

.edit-header p {
    margin: 4px 0 0;

    color: var(--unimap-muted);

    font-size: 12px;
}

.profile-edit-card {
    padding: 23px;

    background: rgba(12,23,38,.95);

    border: 1px solid var(--unimap-border);
    border-radius: 23px;

    box-shadow: 0 25px 65px rgba(0,0,0,.25);
}

.profile-photo-section {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 28px;
}

.profile-avatar-wrapper {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    overflow: hidden;
    border-radius: 50%;
}

.profile-avatar-wrapper img,
.profile-avatar-wrapper .avatar-initials {
    width: 104px;
    height: 104px;

    border-radius: 50%;
}

.profile-avatar-wrapper img {
    object-fit: cover;
}

.avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #2489ff,
            #1456a3
        );

    color: white;

    font-size: 30px;
    font-weight: 800;
}

.photo-upload-button {
    margin-top: 11px;

    color: var(--unimap-blue);

    font-size: 13px;
    font-weight: 650;

    cursor: pointer;
}

.form-section {
    margin-top: 27px;
}

.form-section-title {
    margin-bottom: 15px;

    color: var(--unimap-blue);

    font-size: 11px;
    font-weight: 750;

    letter-spacing: .11em;
    text-transform: uppercase;
}

.form-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    color: #cbd5e1;

    font-size: 12px;
    font-weight: 650;
}

.form-group input,
.form-group select {
    width: 100%;
    min-height: 49px;

    padding: 0 13px;

    border: 1px solid var(--unimap-border);
    border-radius: 13px;

    outline: none;

    background: var(--unimap-card-2);
    color: white;

    font-family: inherit;
    font-size: 13px;
}

.form-group input::placeholder {
    color: #617086;
}

.form-group input:focus,
.form-group select:focus {
    border-color: rgba(36,137,255,.7);

    box-shadow:
        0 0 0 3px rgba(36,137,255,.1);
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: #101d2f;
    color: white;
}

.readonly-field {
    opacity: .58;
}

.readonly-field input {
    cursor: not-allowed;
}

.readonly-field small {
    color: #637187;

    font-size: 10px;
}

.form-actions {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 30px;
}

.cancel-button,
.save-button {
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;
}

.cancel-button {
    border: 1px solid var(--unimap-border);

    background: rgba(255,255,255,.035);

    color: white;
}

.save-button {
    border: 0;

    background:
        linear-gradient(
            135deg,
            var(--unimap-blue),
            var(--unimap-blue-2)
        );

    color: white;

    box-shadow:
        0 12px 28px rgba(36,137,255,.18);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .auth-page {
        align-items: flex-start;
        padding-top: 25px;
    }

    .auth-card {
        padding: 21px;
        border-radius: 21px;
    }

    .auth-brand {
        margin-bottom: 20px;
    }

    .auth-brand-logo {
        width: 48px;
        height: 48px;
    }

    .auth-brand-name {
        font-size: 23px;
    }

    .profile-page,
    .profile-edit-page {
        padding-left: 13px;
        padding-right: 13px;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
    }

    .profile-actions {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }

    .form-actions {
        grid-template-columns: 1fr;
    }

    .cancel-button {
        order: 2;
    }

    .save-button {
        order: 1;
    }
}

/* Profile avatar image — keep uploaded photos inside the avatar only. */
.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  border-radius: 50%;
}

.notification-bell{position:relative;display:inline-grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid rgba(255,255,255,.08);border-radius:12px;color:inherit;text-decoration:none;background:rgba(255,255,255,.035);transition:transform .18s ease,background .18s ease,border-color .18s ease}.notification-bell:hover{background:rgba(255,255,255,.07);border-color:rgba(22,119,255,.35);transform:translateY(-1px)}.notification-bell:active{transform:translateY(0)}.notification-bell svg{display:block}.notification-badge{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;padding:0 4px;border:2px solid #07111f;border-radius:999px;background:#ef5b6b;color:#fff;font-size:9px;line-height:13px;display:grid;place-items:center;font-weight:800;box-sizing:border-box}


/* Production fix: keep user photos contained in their circular avatar boxes. */
.avatar > img, .avatar img, .news-compose-avatar img, .news-author-avatar img,
.news-public-profile-avatar img, .profile-avatar-wrapper > img, .profile-avatar {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  object-fit: cover; object-position: center; display: block; flex-shrink: 0;
}
.avatar, .news-compose-avatar, .news-author-avatar, .news-public-profile-avatar,
.profile-avatar-wrapper { overflow: hidden; border-radius: 50%; }


/* Header simplification, Coming Soon halls, and Profile account links */
.notification-bell{position:relative;width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border:1px solid rgba(22,119,255,.5);border-radius:16px;background:var(--surface);color:var(--text)}
.notification-bell:hover{border-color:var(--blue);background:var(--surface-2)}
.notification-badge{position:absolute;top:-5px;right:-4px;min-width:20px;height:20px;padding:0 5px;display:grid;place-items:center;border-radius:999px;background:#ff454f;color:#fff;font-size:11px;font-weight:800;border:2px solid var(--bg)}
.notification-badge[hidden]{display:none}
.coming-soon-page{width:min(100%,680px);margin:12px auto 36px;padding:12px 0 24px}
.coming-soon-icon{width:64px;height:64px;display:grid;place-items:center;margin-bottom:22px;border-radius:20px;background:rgba(22,119,255,.12);border:1px solid rgba(22,119,255,.2);color:#63a6ff}
.coming-soon-intro{max-width:520px;font-size:15px;margin:12px 0 24px}
.coming-soon-card{padding:26px;border:1px solid var(--border);border-radius:22px;background:linear-gradient(145deg,var(--surface),#0a1523);box-shadow:var(--shadow)}
.coming-soon-pill{display:inline-flex;padding:6px 11px;border:1px solid rgba(243,179,62,.22);border-radius:999px;background:rgba(243,179,62,.09);color:#f6c15d;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.coming-soon-card h2{margin:18px 0 8px}
.coming-soon-card p{max-width:520px;line-height:1.7;margin-bottom:20px}
.profile-menu-section{margin-top:28px}
.profile-menu-section h2{margin-bottom:14px}
.profile-menu-links{display:grid;gap:10px}
.profile-menu-link{display:flex;align-items:center;gap:13px;min-width:0;padding:15px 16px;border:1px solid var(--border);border-radius:15px;background:var(--surface);transition:border-color .15s,background .15s}
.profile-menu-link:hover{border-color:rgba(22,119,255,.45);background:var(--surface-2)}
.profile-menu-symbol{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:12px;background:var(--surface-2);color:#75b4ff;font-size:21px}
.profile-menu-link>span:nth-child(2){display:grid;gap:3px;min-width:0}
.profile-menu-link strong{font-size:14px}
.profile-menu-link small{font-size:12px;color:var(--muted)}
.profile-menu-arrow{margin-left:auto;color:var(--muted);font-size:24px}
.profile-menu-logout{border-color:rgba(255,92,92,.2)}
.profile-menu-logout .profile-menu-symbol,.profile-menu-logout strong{color:#ff7777}
@media(max-width:600px){.app-header{height:64px;padding:0 14px}.brand{gap:8px;font-size:20px}.brand img{width:32px;height:32px}.header-actions{gap:9px}.notification-bell{width:42px;height:42px;flex-basis:42px;border-radius:14px}.avatar{width:38px;height:38px;min-width:38px;min-height:38px;flex-basis:38px}.content{padding-top:20px}.coming-soon-card{padding:21px}.profile-menu-link{padding:13px}.profile-menu-link small{line-height:1.4}}
