@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
.circle-image {
    width: 150px;      
    height: 150px;    
    border-radius: 50%; 
    object-fit: cover;  
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    display: flex; 
    align-items: center; 
    gap: 10px; 
    position: relative;
}


.positioned-div {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    margin-left: 0;
    width: 80%;
}

.content-text {
    order: 1; 
    margin-bottom: 10px; 
}

.image-wrapper {
    order: 2;
    max-width: 100%; 
}

.image-wrapper img {
    max-width: 100%;
    height: auto; 
}

a {
    text-decoration: none;
    color: green;
}

.container2 {
    display: flex; 
    align-items: center; 
    gap: 10px; 
    position: relative;
}

.item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.column {
    flex-direction: column;
    align-items: center;
    padding-left: 100px;
}

.label {
    align-self: flex-start;
}

.circle-image2 {
    width: 75px;      
    height: 75px;    
    border-radius: 50%; 
    object-fit: cover;  
}

img {
    background: transparent;
}

button {
    background: none;
    border: 2.25px solid #0000004d;
    border-radius: 20px;
    padding: 5px 10px;
    cursor: pointer;
}

.my-button {
    align-self: flex-start;

}

.like-form {
    background: none;
    border: none;
}

.like-form button {
    background: none;
    border: 2.25px solid #0000004d;
    border-radius: 20px;
    padding: 5px 10px;
    cursor: pointer;
}

.like-form button:hover {
    border-color: green;
}

.comment-like-form button {
    background: none;
    border: 2px solid #0000004d;
    border-radius: 20px;
    padding: 5px 10px;
    cursor: pointer;
}

.comment-like-form button:hover {
    border-color: green;
}

.like-wrapper {
    order: 3;
    align-self: flex-end;
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.comment-box-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

.comment-input {
    flex: 1;
    border: 2px solid #00000065;
    border-radius: 20px;
    padding: 8px 12px;
    font-size: 1rem;
    resize: none;
    outline: none;
    font-family: inherit;
}

.comment-like-form {
    order: 4;
    width: 100%;
    align-self: flex-start;
}

.comment-submit-btn {
    background: none;
    border: 2px solid #000000;
    border-radius: 20px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1rem;
    white-space: nowrap;
}

.comment-submit-btn:hover {
    border-color: green;
}

.comments-section {
    order: 5;
    width: 100%;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-self: flex-start;
}

.comment-action-form button {
    background: none;
    border: 2.25px solid #0000004d;
    border-radius: 20px;
    padding: 5px 10px;
    cursor: pointer;
}

.comment-action-form button:hover {
    border-color: green;
}


.circle-image-sm {
    margin-top: 10px;
    width: 80px;      
    height: 80px;    
    border-radius: 50%; 
    object-fit: cover;
    border: 4px solid #0000006c;
    box-shadow: inset 0px 4px 10px rgba(0, 0, 0, 0.158);
}

.text-group span {
    font-size: 1.1rem;
}

.text-group strong {
    font-size: 1.1rem;
}

.positioned-div-sm {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    margin-left: 0;
    width: 80%;
}


.image-wrapper-sm {
    order: 2;
    max-width: 100%;
    width: 930px;     
}

.image-wrapper-sm img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 4px solid #00000056;
    display: block;
}

.content-text-sm {
    order: 1;
    margin-bottom: 5px;
    font-size: 0.9rem;
    align-self: flex-start;
}



.divider {
    width: 100%;
    border: none;
    border-top: 1px solid #ccc;
    margin: 10px 0;
}

.replies-section {
    order: 5;
    width: 100%;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 30px;
    align-self: flex-start;
}


.container-center {
    justify-content: center;
    width: 100%;
}
.post-content-sm {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
}

.item .my-button {
    align-self: center;
}



body.app-page {
    background-image: url("../icons/rod.png");
    background-repeat: no-repeat;
    background-size: 70%; 
    background-position: right center; 
    background-attachment: fixed;
}
.practice-box2 {
    position: relative;
    width: 80vw;
    height: auto;
    border: 5px solid #0133059d;
    margin: 0 auto 10vh;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #0000001a;
}

.obj-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 1fr;
    gap: .5vw .5vh;
    height: 100%;
    width: 100%;
    align-content: stretch;
    box-sizing: border-box;
}

.obj-card {
    min-height: 0;
    box-sizing: border-box;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.13);
    background: rgba(255, 255, 255, 0.274);
    border: 1.5px solid var(--color-border-tertiary);
    border-radius: 12px;
    padding: 0.5vh 0.5vw;  /* was fixed 20px 18px 18px */
    display: flex;
    flex-direction: column;
    gap: 0.5vh;             /* was fixed 10px */
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    overflow: hidden;       /* add this so content cant escape the card */
    transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.obj-card:hover {
    background: #f9f9f9ab;
    transform: translateY(-1px);
}

.obj-card:active {
    transform: scale(0.98);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.obj-img {
    width: 2vw;
    height: 2vh;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
    background: #f1f1f194;
}

.obj-name {
    font-size: 0.8vw;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    color: #1a1a1a;
}

.obj-id {
    font-size: 0.6vw;
    color: #ffffff;
    font-family: monospace;
}

.divider {
    height: 0.5px;
    background: #e0e0e0;
    margin: 0 -12px;
}

.card-fields {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
}

.field-label {
    font-size: 0.6vw;
    color: #ffffff;
    white-space: nowrap;
}

.field-value {
    font-size: 0.6vw;
    color: #000000;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90px;
}

.detail-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.detail-header {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 12px;
    text-align: center;
    width: 100%;
}

.detail-img {
    width: 60%;
    height: auto;
    min-width: 150px;
    max-height: 40vh;
    border-radius: 12px;
    object-fit: contain;
    background: #00000018;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

.detail-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-name {
    font-size: 28px;
    font-weight: 500;
    color: #00000094;
}

.detail-id {
    font-size: 20px;
    color: #ffffff;
    font-family: monospace;
}
.id-icon {
    width:26px;
    height: 26px;
    object-fit: contain;
}

.detail-fields {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    height: 70%;
    align-content: space-between;
}

.detail-fields .field-row {
    padding: 12px 0;
    border-bottom: 0.5px solid #e0e0e0;
}

.detail-fields .field-label {
    font-size: 12px;
    color: #ffffff;
    margin-bottom: 4px;
    display: block;
}

.detail-fields .field-value {
    font-size: 20px;
    color: #ffffff;
    max-width: 100%;
}
.field-full {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.detail-fields-wrapper {
    background-color: rgba(0, 0, 0, 0.26);
    border-radius: 12px;
    padding: 20px;
    height: 50%;
    width: 100%;
    margin-top: 20px;
    flex: 1;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}
.title-row {
    width: 80vw;
    margin: 10vh auto 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.title-btn {
    background-color: #015f09;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 15px;
}

.title-btn:hover {
    background-color: #014607;
}
.section-title {
    width: 80vw;
    margin: 0;
    font-size: 50px;
    font-weight: 500;
    font-family: 'Press Start 2P';
    color: #ffffff;
    -webkit-text-stroke: 4px #0000002f;
    
}
.section-title-detail {
    width: 80vw;
    margin: 10vh auto 12px;
    font-size: 50px;
    font-weight: 500;
    font-family: 'Press Start 2P';
    color: #ffffff;
    -webkit-text-stroke: 4px #0000002f;
}

.navbar {
    background-color: #01792f !important;
}
.navbar-nav .nav-link {
    color: #ffffff !important;
}

.navbar-nav .nav-link:hover {
    color: #ffffffb3 !important;
}

.navbar-brand {
    color: #ffffff !important;
}
.navbar .btn-outline-success {
    border-color: #ffffff;
    color: #ffffff;
}

.navbar .btn-outline-success:hover {
    background-color: #ffffff;
    color: #015722;
}

body {
    background-color: #599759;
}
  .about-wrapper {
    max-width: 860px;
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }

 
  .about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
  }

  @media (max-width: 600px) {
    .about-main { grid-template-columns: 1fr; }
  }

  .about-main__image-frame {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 13. / 15;
    background: #f0f0f0;
  }

.about-main__image {
  width: 100%;
  height: 100%;
  object-fit: contain;  
  display: block;
}

  .about-main__eyebrow {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.6rem;
  }

  .about-main__title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
    line-height: 1.2;
  }

  .about-main__lead {
    color: #555;
    line-height: 1.7;
    margin: 0;
  }

 
  .about-outline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-left: 3px solid #e0e0e0;
    padding-left: 1.75rem;
  }

  .outline-block__heading {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
  }

  .outline-block__body {
    color: #2e2d2d;
    line-height: 1.75;
    margin: 0;
  }

 
  .about-links__heading {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 1rem;
  }

  .about-links__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .about-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: background 0.15s, border-color 0.15s;
  }

  .about-link:hover {
    background: #f7f7f7;
    border-color: #ccc;
  }

.practice-box3 {
    position: relative;
    width: 40vw; 
    height: auto; 
    border: 5px solid #0133059d;
    background-color: #0000001a;
    margin: 0 auto 10vh;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 16px;
    overflow-y: auto;
    scrollbar-width: none;
    min-height: 0;
}
.lure-box3 {
    position:relative;
    width: 40vw; 
    max-height: 75vh; 
    border: 5px solid #0133059d;
    background-color: #0000001a;
    margin: 0 auto 10vh;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 16px;
    overflow-y: auto;
    scrollbar-width: none;
    min-height: 0;
}
.rodreal-box3 {
    position: relative;
    width: 45vw; 
    height: auto; 
    border: 5px solid #0133059d;
    background-color: #0000001a;
    margin: 0 auto 10vh;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 16px;
    overflow-y: auto;
    scrollbar-width: none;
    min-height: 0;
}
.practice-box3::-webkit-scrollbar,
.rodreal-box3::-webkit-scrollbar,
.lure-box3::-webkit-scrollbar {
    display: none;
}
.rodreal-box3 form,
 .lurebox-3 form,
 .practice-box3 form {
    display: flex;
    flex-direction: column;
    gap: 1.5vh;
    min-height: 100%;  
    align-items: center;
    justify-content: space-evenly;
}


.form-label {
    font-size: 12px;
    color: #ffffff;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 80%; 
    margin: 0 auto;
    
}
.form-field button{
    color: white;
    background-color: red;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 80%; 
    margin: 0 auto;
    
}
.form-field button:hover{
    background-color:  rgb(194, 6, 6);
    cursor: pointer;
}
input[type="checkbox"] {
    width: 30px;
    height: 30px;
    background-color: #0133059d;
    accent-color: green;
}
.deleteacc-button-link {
  background-color: rgb(214, 3, 3);
  border-radius: 8px;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.deleteacc-button-link:hover{
    background-color: rgb(161, 5, 5);
}
.settings-button-link{
background-color: #0133059d;
  border-radius: 8px;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}
.settings-button-link:hover{
    background-color: #0124049d;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%; 
    padding: 1vh 12px;
    border: 1.5px solid #0133059d;
    border-radius: 8px;
    font-size: 16px;
    color: #1a1a1a;
    background-color: rgba(255, 255, 255, 0.164);
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.15s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #ffffff9d;
}

.form-btn {
    background-color: #0000009d;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    align-self: flex-end;
    transition: background-color 0.15s;
    padding: 10px 24px;
    margin-top: auto;
}

.form-btn:hover {
    background-color: #0133059d;
}
.title-row-rod {
    width: 40vw;
    margin: 10vh auto 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.feed-container {
    width: 50vw;
    margin: 0 auto 10vh;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 12px;
}

.post-card {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1.5px solid #e0e0e0;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: border-color 0.15s;
}

.post-card:hover {
    border-color: black;
}




.post-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.post-username {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

.post-timestamp {
    font-size: 11px;
    color: #999;
    font-family: monospace;
}

.post-media {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.post-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.post-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover; /* change from contain to cover */
    display: block;
    border-radius: 12px;
}
.post-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    align-items: flex-start;
}

.post-text {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.6;
    margin: 0;
    align-self: flex-start;
}

.post-divider {
    height: 0.5px;
    background: #e0e0e0;
    margin: 0 -16px;
}

.post-footer {
    display: flex;
    align-items: center;
    gap: 20px;
}

.post-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stat-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.stat-count {
    font-size: 13px;
    color: #999;
}

.post-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}


.post-card {
    text-decoration: none;
    color: inherit;
}
.post-link {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* .post-link:hover .post-text {
    color: green;
    transition: color 0.15s;
} */
.section-title-feed {
    width: 80vw;
    margin: 0;
    font-size: 50px;
    font-weight: 500;
    font-family: 'Press Start 2P';
    color: #ffffff;
    -webkit-text-stroke: 4px #0000002f;
     text-align: center;
    
}
.post-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.post-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #0000006c;
    box-shadow: inset 0px 4px 10px rgba(0, 0, 0, 0.158);
}

.post-header-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}
.post-name-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.post-profilename {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}
.post-username {
    font-size: 13px;
    color: green;
}
.post-timestamp {
    font-size: 11px;
    color: #999;
    font-family: monospace;
    align-self: flex-end;
}
.post-textarea {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #1a1a1a;
    background-color: rgba(255, 255, 255, 0.85);
    box-sizing: border-box;
    outline: none;
    resize: none;
    transition: border-color 0.15s;
    font-family: inherit;
}

.post-textarea:focus {
    border-color: #ff4757;
}

.post-file-input {
    font-size: 13px;
    color: #999;
}
.post-title-row {
    width: 40vw;
    margin: 10vh auto 12px; 
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.post-wrapper {
    position: relative;
}

.post-like-overlay {
    position: absolute;
    bottom: 12px;
    left: 16px;
}
.comment-card {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #0000006c;
    margin-top: 0;
}

.comment-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.comment-profilename {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

.comment-username {
    font-size: 13px;
    color: green;
    text-decoration: none;
    display: inline; 
    width: fit-content;
}

.comment-username:hover {
    text-decoration: underline;
}

.comment-text {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.5;
    margin: 0;
}

.comment-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    justify-content: flex-end;
}

.comment-card {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #0000006c;
    margin-top: 0;
}

.comment-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.comment-header {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.comment-profilename {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
}

.comment-username {
    font-size: 13px;
    color: green;
    text-decoration: none;
}

.comment-username:hover {
    text-decoration: underline;
}

.comment-text {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 1.5;
    margin: 0;
}

.comment-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.action-count {
    font-size: 13px;
    color: #000000;
}

.results-grid {
    width: 80vw;
    margin: 0 auto 10vh;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.result-card {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1.5px solid #0133059d;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.13);
}

.result-card:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.result-card:active {
    transform: scale(0.98);
}

.result-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.result-img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: contain;
    background: #00000018;
    flex-shrink: 0;
}

.result-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.result-name {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-type-badge {
    display: flex;
    align-items: center;
    gap: 5px;
}

.result-type-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.result-type-label {
    font-size: 11px;
    color: #ffffffa0;
    font-family: monospace;
}

.result-divider {
    height: 0.5px;
    background: #ffffff30;
    margin: 0 -16px;
}

.result-fields {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.result-field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.result-field-label {
    font-size: 12px;
    color: #ffffffa0;
    white-space: nowrap;
}

.result-field-value {
    font-size: 12px;
    color: #ffffff;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}
.result-accept-btn {
    background: green;
    color: white;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
}
.result-accept-btn:hover {
    background: #0133059d;
    color: #ffffff;
}
.result-reject-btn {
    background: red;
    color: white;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
}
.result-reject-btn:hover {
    background: rgb(168, 1, 1);
    color: #ffffff;
}
.result-card-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    margin-top: auto;
}
.result-username {
    font-size: 13px;
    color: #ffffffa0;
}
.detail-img-wrapper {
    position: relative;
    width: 60%;
    min-width: 150px;
    display: flex;
    flex-direction: row;
    align-items: flex-end; 
    gap: 10px;
}

.detail-img-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: 16px; 
}

.detail-img {
    width: 100%;
    height: auto;
    max-height: 40vh;
    border-radius: 12px;
    object-fit: contain;
    background: #00000018;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}


.detail-action-icon {
    width: 60px;  
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.4));
    transition: transform 0.15s;
}

.detail-action-icon:hover {
    transform: scale(1.1);
}
.result-card {
  position: relative;
}
.result-card .card-overlay-btn {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  background: none;
}
.detail-header-btn {
    background-color: #015f09;
    color: #ffffff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    transition: background-color 0.15s;
    margin-top: 8px;
}

.detail-header-btn:hover {
    background-color: #014607;
}
.profile-page {
    display: flex;
    flex-direction: row;
    width: 90vw;
    margin: 0 auto;
    gap: 24px;
    min-height: 100vh;
    padding-top: 4vh;
}

.profile-sidebar {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #0133059d;
    border-radius: 16px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0133059d;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

.profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.profile-name {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
}

.profile-username {
    font-size: 14px;
    color: #ffffffa0;
}

.profile-bio {
    font-size: 13px;
    color: #ffffffc0;
    text-align: center;
    line-height: 1.6;
    margin: 0;
    padding: 12px 8px 0;
    border-top: 0.5px solid #ffffff30;
    width: 100%;
    word-break: break-word;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.profile-actions form {
    width: 100%;
    min-height: 0;
    align-items: unset;
    justify-content: unset;
    gap: 0;
    display: block;
}

.profile-btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: opacity 0.15s;
    border: none;
    color: #ffffff;
    box-sizing: border-box;
}

.profile-btn:hover {
    opacity: 0.85;
}

.profile-follow-btn {
    background-color: #015f09;
}

.profile-message-btn {
    background-color: #0133059d;
}

.profile-block-btn {
    background-color: #00000060;
}

.profile-edit-btn {
    background-color: #0133059d;
}

.profile-feed {
    flex: 1;
    min-width: 0;
}

.profile-feed .feed-container {
    width: 100%;
    margin: 0;
    padding-top: 12px;
}
.profile-avatar-edit {
    cursor: pointer;
    position: relative;
    display: block;
}

.profile-avatar-edit::after {
    content: 'Change';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    color: white;
    text-align: center;
    font-size: 12px;
    padding: 4px 0;
    border-radius: 0 0 50% 50%;
}

.profile-edit-input {
    background: rgba(255,255,255,0.15);
    border: 1.5px solid #0133059d;
    border-radius: 8px;
    padding: 6px 10px;
    color: #ffffff;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    outline: none;
    text-align: center;
}

.profile-bio-edit {
    resize: none;
    font-family: inherit;
    line-height: 1.6;
    height: 80px;
    word-break: break-word;
    overflow-wrap: break-word;
}

.navbar-brand {
    font-family: 'Press Start 2P', cursive;
    font-size: 16px; 
    color: #ffffff !important;
    -webkit-text-stroke: 1px #0000002f;
}
.result-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.profile-sidebar-wrapper {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 25%;
    position: sticky;
    top: 20px;
    height: fit-content;
}
.profile-sidebar-grid {
    width: 100%;
    margin: 16px 0 0 0;
    grid-template-columns: 1fr;
}
.delete-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.4;
    transition: opacity 0.2s, transform 0.2s;
    padding: 4px;
    position: relative;
}

.delete-btn:hover {
    opacity: 1;
    transform: scale(1.15);
}

.delete-btn::after {
     content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.delete-btn:hover::after {
    opacity: 1;
}
.delete-icon {
    width: 20px;
    height: 20px;
}
.delete-btn:hover .delete-icon {
    filter: brightness(0.6);
}
#imageModal .modal-content {
    background: none;
    border: none;
    box-shadow: none;
}

#imageModal .modal-body {
    padding: 0;
}
.modal-trigger {
    border-radius: 50%;
}
.leaderboard {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    padding-right: 8px;
}
.leaderboard::-webkit-scrollbar {
    display: none;
}
.leaderboard-entry {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #0133059d;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s, transform 0.1s;
}
.leaderboard-entry:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}
.leaderboard-rank {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    min-width: 40px;
}
.leaderboard-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.leaderboard-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0133059d;
    flex-shrink: 0;
}
.leaderboard-name {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
}
.leaderboard-username {
    font-size: 13px;
    color: #ffffffa0;
}
.leaderboard-stat {
    margin-left: auto;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
}   
mark {
    background-color: #fff176;
    padding: 1px 2px;
    border-radius: 2px;
}

.chat-list {
    width: 75vw;
    margin: 0 auto 10vh;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-entry {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
}

.chat-entry:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.chat-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0133059d;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.chat-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.chat-info-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-name {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
}

.chat-timestamp {
    font-size: 12px;
    color: #ffffffa0;
    font-family: monospace;
    flex-shrink: 0;
}

.chat-preview {
    font-size: 14px;
    color: #ffffffa0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-page {
    width: 75vw;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 90vh;
    padding-top: 2vh;
    gap: 0;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #0133059d;
    border-radius: 16px 16px 0 0;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    border-left: 1px solid #0133059d;
    border-right: 1px solid #0133059d;
    scrollbar-width: none;
}

.chat-messages::-webkit-scrollbar {
    display: none;
}

.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.chat-message-mine {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0133059d;
    flex-shrink: 0;
}

.message-bubble-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 60%;
}

.chat-message-mine .message-bubble-wrapper {
    align-items: flex-end;
}

.message-sender-name {
    font-size: 12px;
    color: #ffffffa0;
    padding-left: 4px;
}

.message-bubble {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid #0133059d;
    border-radius: 16px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-message-mine .message-bubble {
    background-color: rgba(1, 95, 9, 0.4);
}

.message-text {
    font-size: 14px;
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
}

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

.message-time {
    font-size: 10px;
    color: #ffffffa0;
    font-family: monospace;
}

.reaction-btn {
    background: none;
    border: 1px solid #ffffff30;
    border-radius: 20px;
    padding: 2px 8px;
    color: #ffffffa0;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: border-color 0.15s;
}

.reaction-btn:hover {
    border-color: #ffffff60;
    color: #ffffffa0;
    background: none;
}

.chat-input-bar {
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #0133059d;
    border-radius: 0 0 16px 16px;
}

.chat-input-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 0 !important;
}

.chat-textarea {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1.5px solid #0133059d;
    border-radius: 20px;
    padding: 10px 16px;
    color: #ffffff;
    font-size: 14px;
    resize: none;
    outline: none;
    font-family: inherit;
    line-height: 1.5;
}

.chat-textarea::placeholder {
    color: #ffffffa0;
}

.chat-textarea:focus {
    border-color: #ffffff60;
}

.chat-send-btn {
    background-color: #015f09;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.15s;
    white-space: nowrap;
}

.chat-send-btn:hover {
    background-color: #014607;
}

.message-reply {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background-color: rgba(0, 0, 0, 0.2);
    border-left: 3px solid #ffffffa0;
    border-radius: 8px;
    margin-bottom: 6px;
}

.reply-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.reply-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.reply-name {
    font-size: 11px;
    font-weight: 500;
    color: #ffffffa0;
}

.reply-text {
    font-size: 12px;
    color: #ffffff80;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-header-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.chat-header-btn {
    background-color: #015f09;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.15s;
}

.chat-header-btn:hover {
    background-color: #014607;
}

.message-image {
    width: 100%;
    max-width: 300px;
    max-height: 250px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}
.chat-image-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.chat-image-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.chat-image-icon:hover {
    opacity: 1;
}

.chat-input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

#chat-image-preview-wrapper {
    padding: 4px 0;
}

.chat-image-preview {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 1.5px solid #0133059d;
    display: block;
}
.reply-icon-btn {
    background: none;
    border: none;
    color: #ffffffa0;
    font-size: 14px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 20px;
    transition: color 0.15s, background 0.15s;
}

.reply-icon-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.chat-reply-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 1px solid #0133059d;
    border-right: 1px solid #0133059d;
    border-top: 1px solid #0133059d;
    gap: 12px;
}

.reply-preview-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-left: 3px solid #ffffffa0;
    padding-left: 8px;
    min-width: 0;
}

.reply-preview-name {
    font-size: 12px;
    font-weight: 500;
    color: #ffffffa0;
}

.reply-preview-text {
    font-size: 12px;
    color: #ffffff80;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reply-preview-cancel {
    background: none;
    border: none;
    color: #ffffffa0;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: color 0.15s;
}

.reply-preview-cancel:hover {
    color: #ffffff;
}

.reaction-wrapper {
    position: relative;
    display: inline-flex;
}

.reaction-picker {
    display: none;
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(20, 20, 20, 0.95);
    border: 1px solid #0133059d;
    border-radius: 24px;
    padding: 6px 10px;
    gap: 4px;
    white-space: nowrap;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 10;
    flex-direction: row;
    align-items: center;
}

.reaction-picker button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: transform 0.1s, background 0.15s;
    line-height: 1;
}

.reaction-picker button:hover {
    transform: scale(1.3);
    background: rgba(255, 255, 255, 0.1);
}

.reaction-picker.active {
    display: flex;
}

.message-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.message-reaction-pill {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffffff30;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 13px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: default;
}

.chat-modal-content {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #0133059d;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.chat-modal-header {
    border-bottom: 1px solid #0133059d;
    padding: 16px 20px;
}

.chat-modal-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
}

.chat-modal-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: none;
}

.chat-modal-body::-webkit-scrollbar {
    display: none;
}

.chat-member-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.chat-member-entry:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.chat-member-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0133059d;
    flex-shrink: 0;
}

.chat-member-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-member-name {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
}

.chat-member-username {
    font-size: 13px;
    color: #ffffffa0;
}

.chat-leave-btn {
    background-color: #00000060;
}

.chat-leave-btn:hover {
    background-color: #00000090;
}