/* v/dashboard.css — nodist user dashboard */

.dash-page {
    display: flex;
    flex-direction: column;							
    padding: 3vw 2vw;
    min-height: 80vh;
    width: 95vw;
	background-size:cover;
	margin:auto;
	border-radius: 20px;

}

/* ── Header ── */
.dash-header {
    display: flex;
    align-items: flex-start;
    gap: 3vw;
    width: auto;
    max-width: 80vw;
    margin:auto;
    padding: 2.5rem 2.5rem 2rem;
    border: 1px solid rgba(80,160,255,0.25);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    margin-bottom: 1.5rem;
float:left;

}

.dash-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(0,127,255,0) 0%, rgba(0,127,255,0.5) 50%, rgba(0,200,255,0.3) 100%);
}

.dash-pfp-wrap { flex-shrink: 0; }

.dash-pfp {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(80,160,255,0.4);
    object-fit: cover;
    box-shadow: 0 0 30px rgba(80,160,255,0.2), inset 0 2px 4px rgba(255,255,255,0.9);
    display: block;
    background: rgba(220,238,255,0.8);
}

.dash-pfp-default {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(80,160,255,0.4);
    background: rgba(220,238,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    color: rgba(0,127,255,1);
    box-shadow: 0 0 30px rgba(80,160,255,0.2);
}

.dash-ident {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    padding-top: 0.3rem;
}

.dash-username {
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.1rem;
    color: rgba(0,127,255,1);
    letter-spacing: 0.15em;
}

.dash-tier {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(80,160,255,0.25);
    color: rgba(0,0,0,1);
    background: rgba(0,0,0,0.5);
    width: fit-content;
}

.dash-tier-the_egg_man {
    color: rgba(0,200,255,0.9);
    border-color: rgba(0,200,255,1);
    background: rgba(0,0,0,0.5);
}

.dash-tier-egg {
    color: rgba(180,130,0,0.9);
    border-color: rgba(200,160,0,0.35);
    background: rgba(0,0,0,0.5);
}

.dash-joined {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(30,60,120,1);
}

.dash-view-profile {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: rgba(0,127,255,1);
    text-decoration: none;
    margin-top: 0.3rem;
    width:300px; margin:auto; padding:5px;
}

.dash-view-profile:hover { color: rgba(0,127,255,0.9);  }

/* ── Animated hex ring splash ── */
.dash-splash {
    min-width: 80vw;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    margin:auto;
}

.dash-hex-ring {
    position: relative;
    max-width: 600px;
    height: 420px;
    margin-auto;
}

/* Hex cell base */
.dash-hex {
    position: absolute;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(0,120,255,0.9);
    color: #FFF;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    margin-left: -55px;
    margin-top: -31px;
}

.dash-hex::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: rgba(0,160,255,0.18);
    transform: scale(1.06);
    z-index: -1;
    transition: background 0.3s;
}

.dash-hex:hover {
    background: rgba(0,160,255,0.28);
    color: #fff;
}

.dash-hex:hover::before { background: rgba(100,210,255,0.4); }

.dash-hex span { pointer-events: none; line-height: 1.4; }

.dash-hex-locked {
    opacity: 0.35;
    pointer-events: none;
}

/* 7 cells: 1 center + 6 ring */
/* Center */
.dash-hex-1 {
    top: 50%; left: 50%;
    animation: dash-float-1 7s ease-in-out infinite;
}

/* Ring — evenly spaced at radius ~155px */
.dash-hex-2 {
    top: calc(50% - 155px); left: 50%;
    animation: dash-float-2 8s ease-in-out infinite;
}

.dash-hex-3 {
    top: calc(50% - 77px); left: calc(50% + 134px);
    animation: dash-float-3 9s ease-in-out infinite;
}

.dash-hex-4 {
    top: calc(50% + 77px); left: calc(50% + 134px);
    animation: dash-float-4 7.5s ease-in-out infinite;
}

.dash-hex-5 {
    top: calc(50% + 155px); left: 50%;
    animation: dash-float-5 8.5s ease-in-out infinite;
}

.dash-hex-6 {
    top: calc(50% + 77px); left: calc(50% - 134px);
    animation: dash-float-6 6.5s ease-in-out infinite;
}

.dash-hex-7 {
    top: calc(50% - 77px); left: calc(50% - 134px);
    animation: dash-float-7 9.5s ease-in-out infinite;
}

/* Each cell floats independently — different direction and timing */
@keyframes dash-float-1 {
    0%,100% { transform: translate(-50%,-50%) translateY(0px); }
    50%      { transform: translate(-50%,-50%) translateY(-10px); }
}
@keyframes dash-float-2 {
    0%,100% { transform: translate(-50%,-50%) translateY(0px) translateX(0px); }
    33%     { transform: translate(-50%,-50%) translateY(-8px) translateX(5px); }
    66%     { transform: translate(-50%,-50%) translateY(4px) translateX(-4px); }
}
@keyframes dash-float-3 {
    0%,100% { transform: translate(-50%,-50%) translateY(0px); }
    40%     { transform: translate(-50%,-50%) translateY(9px) translateX(4px); }
    80%     { transform: translate(-50%,-50%) translateY(-5px) translateX(-3px); }
}
@keyframes dash-float-4 {
    0%,100% { transform: translate(-50%,-50%) translateY(0px); }
    50%     { transform: translate(-50%,-50%) translateY(-12px) translateX(3px); }
}
@keyframes dash-float-5 {
    0%,100% { transform: translate(-50%,-50%) translateY(0px) translateX(0px); }
    30%     { transform: translate(-50%,-50%) translateY(7px) translateX(-5px); }
    70%     { transform: translate(-50%,-50%) translateY(-6px) translateX(4px); }
}
@keyframes dash-float-6 {
    0%,100% { transform: translate(-50%,-50%) translateY(0px); }
    45%     { transform: translate(-50%,-50%) translateY(-9px) translateX(-4px); }
    85%     { transform: translate(-50%,-50%) translateY(5px) translateX(3px); }
}
@keyframes dash-float-7 {
    0%,100% { transform: translate(-50%,-50%) translateY(0px); }
    50%     { transform: translate(-50%,-50%) translateY(11px) translateX(-3px); }
}

/* ── Form sections ── */
.dash-form {
    width: 100%;
    max-width: 600px;
    margin:auto;
    display: flex;
    flex-direction: column;
}

.dash-section {
    width: 100%;
    max-width: 900px;
    padding: 1.5rem 2.5rem;
    background: rgba(0,0,0,0.65);
    border: 1px solid rgba(80,160,255,0.2);
    border-top: none;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.dash-full-section {
    border-top: 1px solid rgba(80,160,255,0.2) !important;
    border-radius: 10px;
}

.dash-form .dash-section:first-of-type {
    border-top: 1px solid rgba(80,160,255,0.2);
    border-radius: 4px 4px 0 0;
}

.dash-form .dash-section:last-of-type {
    border-radius: 0 0 4px 4px;
}

.dash-section-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
    margin-bottom: 0.6rem;
}

.dash-input {
    width: 100%;
    background: rgba(220,238,255,0.3);
    border: 1px solid rgba(80,160,255,0.2);
    border-radius: 5px;
    padding: 0.5rem 0.75rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: #000;
    letter-spacing: 0.05em;
    outline: none;
    box-sizing: border-box;
}

.dash-input:focus {
    border-color: rgba(0,127,255,0.4);
    background: rgba(220,238,255,0.5);
}

.dash-textarea {
    width: 100%;
    background: rgba(220,238,255,0.3);
    border: 1px solid rgba(80,160,255,0.2);
    border-radius: 2px;
    padding: 0.5rem 0.75rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    color: #000;
    letter-spacing: 0.05em;
    outline: none;
    resize: vertical;
    min-height: 80px;
    box-sizing: border-box;
}

.dash-textarea:focus {
    border-color: rgba(0,127,255,0.4);
    background: rgba(220,238,255,0.5);
}

.dash-check-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: rgba(30,60,120,1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    cursor: pointer;
}

.dash-dox-valid {
    color: rgba(0,180,100,0.7);
    letter-spacing: 0.2em;
}

/* ── Buttons ── */
.dash-btn-save {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(0,127,255,0.8);
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(80,160,255,0.3);
    border-radius: 2px;
    padding: 0.6rem 2rem;
    cursor: pointer;
    margin-right: 1rem;
}

.dash-btn-save:hover {
    background: rgba(200,228,255,0.9);
    color: rgba(0,100,220,1);
}

.dash-btn-sm {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(0,127,255,0.7);
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(80,160,255,0.25);
    border-radius: 5px;
    padding: 0.35rem 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.dash-btn-sm:hover { background: rgba(200,228,255,0.9); }

.dash-back { margin-left: 0.5rem; }

/* ── Hives / nodes rows ── */
.dash-hive-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(80,160,255,0.08);
}

.dash-hive-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: rgba(0,127,255,0.8);
    text-decoration: none;
    flex: 1;
}

.dash-hive-title:hover { color: rgba(0,100,220,1); }

.dash-hive-meta {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 0.2em;
    color: rgba(30,60,120,0.35);
}

.dash-hive-disabled {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.45rem;
    letter-spacing: 0.3em;
    color: rgba(200,80,80,0.6);
    text-transform: uppercase;
}

.dash-hive-new { margin-top: 1rem; display: inline-block; }

/* ── Comments ── */
.dash-comm-row {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(80,160,255,0.08);
}

.dash-comm-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    color: #1a2a4a;
    line-height: 1.4;
}

.dash-comm-time {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.45rem;
    letter-spacing: 0.2em;
    color: rgba(30,60,120,0.3);
    margin-top: 0.2rem;
}

/* ── Media ── */
.dash-media-row {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(80,160,255,0.08);
}

.dash-media-url {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    color: rgba(0,127,255,0.7);
    word-break: break-all;
}

/* ── Subscription ── */
.dash-sub-row {
    display: flex;
    gap: 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(80,160,255,0.08);
}

.dash-sub-lbl {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.5rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(30,60,120,0.35);
    min-width: 100px;
}

.dash-sub-val {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    color: #1a2a4a;
    letter-spacing: 0.05em;
}

/* ── Invites ── */
.dash-invite-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(80,160,255,0.08);
}

.dash-invite-code {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(0,127,255,0.8);
    flex: 1;
}

.dash-invite-used {
    color: rgba(30,60,120,0.25);
    text-decoration: line-through;
}

.dash-invite-status {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.45rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(30,60,120,0.35);
}

/* ── Misc ── */
.dash-empty {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    color: rgba(0,127,255,0.35);
    padding: 1.5rem 0;
}

.dash-msg {
    width: 100%;
    max-width: 900px;
    padding: 0.75rem 1.5rem;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

.dash-msg-ok {
    background: rgba(200,245,220,0.6);
    border: 1px solid rgba(0,180,100,0.25);
    color: rgba(0,140,80,0.8);
}

.dash-msg-err {
    background: rgba(255,220,220,0.6);
    border: 1px solid rgba(200,80,80,0.25);
    color: rgba(180,60,60,0.8);
}

.dash-error {
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.6rem;
    color: rgba(0,127,255,0.5);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 4rem;
    text-align: center;
}