* { box-sizing: border-box; }

body {
    margin: 0;
    background: #fafafa;
    color: #171717;
    font-family: Arial, Helvetica, sans-serif;
}

a { color: inherit; text-decoration: none; font-weight: bold; }

nav a:hover { /*color: #058b2f;*/ font-weight: bold; }

.site-header {
    height: 68px;
    border-bottom: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

.logo {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
}
.logo:hover {
    color: #ddd !important;
    font-weight: 900 !important;
}

/*
.logo span {
    background: #3cda4e;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: inline-block;
    text-align: center;
    font-size: 30px;
} */

.logo span.hash {
    width: 34px;
    height: 34px;

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

    background: #3ad94c;
    color: #111;
    border-radius: 50px;

    font-size: 20px;
    font-weight: 900;
}

.logo span.text {
    display: inline-flex;
}

nav { display: flex; align-items: center; gap: 20px; font-size: 14px; }
nav a:hover { text-decoration: underline; }

.nav-button {
    background: #058b2f;
    color: #fff;
    padding: 9px 15px;
    border-radius: 5px;
}

.container {
    max-width: 1050px;
    margin: auto;
    padding: 50px 20px;
}

.hero {
    text-align: center;
    max-width: 720px;
    margin: 20px auto 70px;
    padding: 10px;
}

.badge {
    display: inline-block;
    color: #16833a;
    background: #e9f8ed;
    border: 1px solid #bde6c7;
    padding: 8px 13px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .5px;
}

.hero h1 {
    font-size: clamp(42px, 7vw, 72px);
    line-height: .98;
    letter-spacing: -3px;
    margin: 25px 0;
}

.hero-copy {
    font-size: 20px;
    line-height: 1.5;
    color: #666;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.button {
    display: inline-block;
    border: 0;
    border-radius: 6px;
    padding: 13px 19px;
    font-weight: 800;
    cursor: pointer;
    font-size: 13px;
}

.primary { background: #058b2f; color: white; }
.secondary { background: #e9e9e9; color: #058b2f; }
.small { padding: 4px 2px; font-size: 9px; opacity: 0.7; }
.help-button { background: #eaf5ff; }

.stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 60px;
}

.stats div {
    padding: 30px;
    text-align: center;
}

.stats div + div { border-left: 1px solid #ddd; }

.stats strong {
    display: block;
    font-size: 42px;
}

.stats span {
    color: #777;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card, .person-card, .form-card, .wall-post {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    word-break: break-word;
}

.wall-post {
    position: relative;
}

.person-card {
    position: relative;

    display: flex;
    flex-direction: column;
    /* min-height: 360px; */
}

.big-icon { font-size: 34px; }

.info-card h2 { margin-bottom: 5px; }
.info-card p { color: #666; line-height: 1.5; }

.cta {
    margin: 60px 0 20px;
    padding: 45px;
    text-align: center;
    background: #eee;
    border-radius: 8px;
}

.cta p { color: #666; margin-bottom: 25px; }

.page-heading {
    margin-bottom: 30px;
}

.page-heading h1 { font-size: 42px; letter-spacing: -1.5px; margin-bottom: 8px; }
.page-heading p, .muted { color: #777; }

.people-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.person-card h2 { margin: 0 0 0px; font-size: 19px; max-width: 210px; }
.person-card .bio { 
    color: #bbb; 
    margin: 12px 0;

    /*height: 80px;*/
    font-size: 12px;
    line-height: 1.5;

    overflow: hidden;
    border: 1px solid #111;

    /* display: -webkit-box; */
    display: block;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (max-width: 768px) {
  .person-card .bio {
    min-height: 140px; 
  }
}


.person-top { display: flex; gap: 13px; align-items: center; }
.person-top sup {font-size: 10px; opacity: 0.6;display: block;color:#666;}

.avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 0px solid transparent;
    overflow: hidden;
    flex-shrink: 0;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.avatarNoImage {
    border: 0px solid #eee;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #ddd;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 20px;
    color: #111;
}

.job { color: #666; font-size: 14px; word-break: break-word; max-width: 210px; }
.location { color: #888; font-size: 13px; margin: 18px 0 8px; }

.tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0; }
.tag {
    font-size: 10px;
    font-weight: 800;
    padding: 6px 8px;
    border-radius: 20px;
}
.workBorder {
    /* border-color: #22a447;*/
    box-shadow: 0 0 0 8px rgba(33, 164, 71, 0.12);
}
.tag.work { /*color: #16833a; background: #e9f8ed;*/
    color:#fff; background: #058b2f; font-size: 9px;
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius: 0px 0px 5px 0px;
    opacity: 0.7;
    font-weight: normal;
}
.tag.help { /* color: #2269a3; background: #eaf5ff;*/ color:#fff; background: #7f5bfd; font-size: 9px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 0px 5px 0px 0px;
    opacity: 0.8;
    font-weight: 800;
}

.person-card form { display: flex; gap: 7px; flex-wrap: wrap; }

.form-page { max-width: 600px; margin: auto; }
.form-page.narrow { max-width: 450px; }
.form-page h1 { font-size: 42px; letter-spacing: -1px; }

.form-card {
    display: grid;
    gap: 18px;
}

#username_status {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
}

.username-available {
    color: #198754;
}

.username-taken {
    color: #c0392b;
}

label { display: grid; gap: 7px; font-weight: 700; font-size: 13px; }

input, textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 12px;
    font: inherit;
    background: #fff;
}

textarea { min-height: 120px; resize: vertical; }

.checkbox {
    display: flex;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox input { width: auto; margin-top: 3px; }

.error, .success, .login-prompt {
    padding: 13px 15px;
    border-radius: 6px;
    margin-bottom: 18px;
}

.error { background: #ccc; color: #a22; }
.success { background: #222; color: #176d31; font-weight: bold; }
.login-prompt { background: #333; }

.post-form {
    background: #111;
    border: 1px solid #333;
    padding: 18px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.post-form textarea { min-height: 90px; margin-bottom: 10px; }

.wall { display: grid; gap: 15px; word-break: break-word; }
.wall-post p { line-height: 1.55; padding-left: 10px; }
.wall-post small { color: #999; }
.post-header { display: flex; gap: 10px; flex-wrap: nowrap; align-items: center; padding: 10px; }
.post-header span { color: #777; font-size: 13px; display: block; margin-left: 10px; }
.post-header strong { display: block; margin-left: 10px; }
.post-header sup {font-size: 10px; opacity: 0.6;display: block;margin-left: 10px;color:#666;}
.help-label { color: #2269a3 !important; font-weight: 700; }

.site-footer {
    border-top: 1px solid #ddd;
    margin-top: 80px;
    padding: 30px 5%;
    color: #777;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}




.person-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.disabled {
    background: #eee;
    color: #777;
    cursor: default;
}

.accepted {
    background: #e9f8ed;
    color: #176d31;
}

.help-sent {
    background: #eaf5ff;
    color: #2269a3;
    opacity: 0.6;
    cursor: default;
}

.post-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.post-form-footer small {
    color: #777;
}

.notification-link {
    position: relative;
    font-size: 18px;
    text-decoration: none !important;
}

.notification-count {
    position: absolute;
    top: -9px;
    right: -10px;
    background: #16833a;
    color: white;
    font-size: 10px;
    font-weight: 900;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.notification-list,
.connections-list {
    display: grid;
    gap: 12px;
    max-width: 700px;
}

.notification,
.connection-card,
.empty-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.connection-card {
    word-break: break-word;
}

.notification {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-icon {
    font-size: 25px;
}

.notification p {
    color: #777;
    margin: 7px 0 13px;
}

.connection-card {
    display: flex;
    gap: 13px;
    align-items: center;
}

.connection-card small {
    color: #777;
}

.connections-heading {
    margin-top: 55px;
    margin-bottom: 18px;
}

.empty-card {
    color: #777;
}







.message-card {
    max-width: 650px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
}

.message-recipient {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.message-recipient small {
    color: #777;
}

.message-card textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: inherit;
}

.message-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
}

.message-footer small {
    color: #777;
}

.message-note {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 13px;
}

.message-button {
    text-decoration: none;
}





.messages-list {
    max-width: 700px;
    display: grid;
    gap: 12px;
}

.message-preview {
    background: #111;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.message-preview-header {
    display: flex;
    align-items: center;
    gap: 13px;
}

.message-preview-header small {
    color: #777;
}

.message-preview-body {
    margin: 18px 0;
    padding: 15px;
    background: #222;
    border-radius: 6px;
    line-height: 1.5;
}

.message-preview-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-preview-footer small {
    color: #888;
}




.person-card h2,
.job,
.location {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.post-header {
    overflow: hidden;
    text-overflow: ellipsis;
}







/* =========================================================
   LEGAL / TERMS PAGE
   ========================================================= */

.legal-page {
    max-width: 850px;
    margin: 0 auto;
    padding: 35px 40px;
}

.legal-page h1 {
    margin: 0 0 5px;
    font-size: 32px;
    font-weight: 800;
}

.legal-page h2 {
    margin: 32px 0 10px;
    padding-top: 5px;

    color: #202522;
    font-size: 19px;
    font-weight: 750;
}

.legal-page p {
    margin: 0 0 14px;

    color: #505a54;
    font-size: 15px;
    line-height: 1.65;
}

.legal-updated {
    color: #8a938e !important;
    font-size: 12px !important;
    margin-bottom: 28px !important;
}


/* CSS */
.tooltip-container {
  position: relative;
  cursor: help;
}

.tooltip-text {
  visibility: hidden;
  width: 160px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 6px;
  border-radius: 4px;
  position: absolute;
  z-index: 1;
  bottom: 125%; 
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
  font-weight: normal;
  line-height: 1.4;
}

.tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.chosen {  border: 1px solid #888 !important;  }
.mycard {  border: 1px solid #666 !important;  }



@media (max-width: 650px) {
    .legal-page {
        padding: 25px 20px;
    }

    .legal-page h1 {
        font-size: 27px;
    }

    .legal-page h2 {
        font-size: 18px;
        margin-top: 27px;
    }
}








@media (max-width: 800px) {
    .people-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .site-header { height: auto; padding: 18px 20px; gap: 15px; flex-direction: column; }
    nav { gap: 12px; flex-wrap: wrap; justify-content: center; }
    .container { padding: 35px 15px; }
    .hero h1 { letter-spacing: -2px; }
    .split-section, .stats, .people-grid { grid-template-columns: 1fr; }
    .stats div + div { border-left: 0; border-top: 1px solid #ddd; }
    .site-footer { flex-direction: column; gap: 8px; }
}





@media (max-width: 600px) {
    .post-form-footer {
        align-items: stretch;
        flex-direction: column;
    }
}








/* =========================================================
   OPEN TO WORK — DARK THEME
   Add this to the bottom of style.css
   ========================================================= */


/* ---------- PAGE ---------- */

body {
    background: #111614;
    color: #e8eeea;
}


/* ---------- HEADER ---------- */

.site-header {
    background: #171c19;
    border-bottom: 1px solid #29322e;
}

.logo {
    color: #f2f5f3;
}

.logo-mark {
    background: #21a447;
    color: #111614;
}

.nav a {
    color: #aeb9b2;
}

.nav a:hover {
    color: #ffffff;
}


/* ---------- MAIN CONTAINER ---------- */

.page-title {
    color: #f2f5f3;
}

.page-subtitle {
    color: #98a49d;
}


/* ---------- CARDS ---------- */

.card,
.hero,
.form-card,
.profile-card,
.person-card,
.connection-card,
.message-card,
.notification {
    background: #1a201d;
    border: 1px solid #2c3631;
    color: #e8eeea;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}


/* ---------- PEOPLE ---------- */

.person-name {
    color: #f3f6f4;
}

.person-job {
    color: #b5c0b9;
}

.person-location {
    color: #8f9c94;
}

.person-bio {
    color: #aab5ae;
}


/* ---------- BADGES ---------- */

.badge {
    background: #26302b;
    color: #bfcac3;
}

.badge-work {
    background: rgba(33, 164, 71, 0.15);
    color: #55d878;
}

.badge-help {
    background: rgba(33, 164, 71, 0.10);
    color: #72d98c;
}


/* ---------- BUTTONS ---------- */

.button {
    background: #21a447;
    color: #ffffff;
    /* border: 1px solid #21a447; */
}

.button:hover {
    background: #198c3b;
    border-color: #198c3b;
}

.button.secondary {
    background: #252d29;
    color: #dce4df;
    border-color: #3a4640;
}

.button.secondary:hover {
    background: #303a35;
    color: #ffffff;
}

.button.danger {
    background: #762f2f;
    border-color: #8d3939;
    color: #ffffff;
}

.button.danger:hover {
    background: #913838;
}


/* ---------- FORMS ---------- */

.form-group label {
    color: #dce4df;
}

input,
textarea,
select {
    background: #121714;
    color: #e8eeea;
    border: 1px solid #39453f;
}

input::placeholder,
textarea::placeholder {
    color: #68756d;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #21a447;
    outline: none;
    box-shadow: 0 0 0 2px rgba(33, 164, 71, 0.15);
}


/* ---------- PROFILE ---------- */

.profile-name {
    color: #f3f6f4;
}

.profile-username {
    color: #7f8c84;
}

.profile-section {
    border-top-color: #303a35;
}

.profile-section h2 {
    color: #dce4df;
}


/* ---------- WALL ---------- */

.wall-post {
    background: #1a201d;
    border: 1px solid #2c3631;
}

.post-author {
    color: #f0f4f1;
}

.post-time {
    color: #77847c;
}

.post-body {
    color: #c1cbc5;
}


/* ---------- MESSAGES ---------- */

.message-recipient {
    color: #f0f4f1;
}

.message-preview {
    color: #adb8b1;
}

.message-footer {
    color: #748078;
}

.message-note {
    background: #202823;
    color: #9ca89f;
    border-color: #303b35;
}


/* ---------- NOTIFICATIONS ---------- */

.notification-icon {
    background: #26312b;
    color: #65d47f;
}

.notification-body {
    color: #c6d0ca;
}

.notification-text {
    color: #e1e8e3;
}

.notification-time {
    color: #748078;
}


/* ---------- CONNECTIONS ---------- */

.connection-info {
    color: #e8eeea;
}

.connection-card .person-username {
    color: #7f8c84;
}


/* ---------- ALERTS ---------- */

.success-message {
    background: rgba(33, 164, 71, 0.13);
    color: #70dc8a;
    border-color: rgba(33, 164, 71, 0.35);
}

.error-message {
    background: rgba(190, 60, 60, 0.13);
    color: #f08080;
    border-color: rgba(190, 60, 60, 0.35);
}

.info-message {
    background: rgba(70, 120, 150, 0.13);
    color: #8fc3dd;
    border-color: rgba(70, 120, 150, 0.30);
}


/* ---------- EMPTY STATES ---------- */

.empty-state {
    color: #aab5ae;
}

.empty-state h2 {
    color: #e6ece8;
}


/* ---------- LEGAL PAGE ---------- */

.legal-page {
    background: #1a201d;
}

.legal-page h1 {
    color: #f2f5f3;
}

.legal-page h2 {
    color: #dce4df;
}

.legal-page p {
    color: #aab5ae;
}

.legal-updated {
    color: #68756d !important;
}


/* ---------- USERNAME AVAILABILITY ---------- */

.username-available {
    color: #55d878;
}

.username-taken {
    color: #f08080;
}


/* ---------- AVATARS ---------- */

.avatar {
    border-color: transparent;
}

.avatar.open-to-work {
    /*border-color: #21a447;*/
    box-shadow: 0 0 0 8px rgba(33, 164, 71, 0.12);
}


/* ---------- NOTIFICATION BADGES ---------- */

.notification-count {
    background: #21a447;
    color: #ffffff;
}


/* ---------- LINKS ---------- */

a {
    color: #55d878;
}

a:hover {
    color: #7be99a;
}


/* ---------- FOOTER ---------- */

.site-footer {
    background: #171c19;
    border-top: 1px solid #29322e;
    color: #77847c;
}

.site-footer a {
    color: #9ca89f;
}

.site-footer a:hover {
    color: #65d47f;
}


/* ---------- MOBILE NAV / MISC ---------- */

@media (max-width: 650px) {

    .site-header {
        background: #171c19;
    }

    .nav a {
        color: #aeb9b2;
    }

    .nav a:hover {
        color: #ffffff;
    }
}





.cta, .info-card {
    background: #111;
}