/* ===============================
   COMMENT BOX MAIN STYLE
   =============================== */

/* Override only for the container inside #post_Comment */
#post_Comment .container {
  padding: 0 5px !important;
  max-width: 100% !important;
  /* so it stretches edge-to-edge */
}

.commentBox {
  background-color: #141A1F;
  border-radius: 3px;
  padding: 15px;
  margin-top: 3%;
}

/* General responsive rules */
.commentBox,
.mydivscroll {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  border-radius: 12px;
}

.commentBox h4 {
  margin-bottom: 30px;
}

.input-group-addon {
  padding: 0 10px 0 0;
  background: none;
  border: none;
}

.input-group {
  position: relative;
  display: inline-block;
  border-collapse: separate;
}

.commentMsg {
  display: flex;
  align-items: flex-start;
}

/* ===============================
   PROFILE IMAGE + LABEL
   =============================== */

/* Profile circle (upload image placeholder) */
.profile-img-icon {
  border-radius: 50%;
  height: 60px;
  width: 60px;
  border: 2px dashed #008cff;
  background-color: #141A1F;
  color: #ecf0f1;
  box-shadow: 0 0 10px #008cff;
  cursor: pointer;
  object-fit: cover;
  /* keep uploaded images from stretching */
  transition: all 0.3s ease;
}

.profile-img-icon:hover {
  content: url('uploadPhoto-BRISE.png');
  box-shadow: 0 0 15px #00bfff;
  transform: scale(1.05);
}

/* Small inline avatars (used in comment list) */
.img-icon {
  border-radius: 50%;
  height: 32px;
  width: 32px;
  box-shadow: -3px -3px 15px 1px #008cff;
  margin-right: 10px;
  object-fit: cover;
}

/* Label under the profile image ("Add photo") */
.editProfileLabel {
  margin-top: 6px;
  display: block;
  color: #ecf0f1;
  cursor: pointer;
  font-size: 13px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
  text-align: center;
}

.editProfileLabel:hover {
  color: #008cff;
}

/* ===============================
   FLEX ROW (Profile + Input)
   =============================== */

.profile-input-row {
  display: flex;
  align-items: center;
  gap: 20px;
  /* spacing between photo block and input */
  margin-bottom: 1rem;
}

.profile-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 80px;
}

/* Typography Resets */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}

.h3,
h3 {
  font-size: 24px;
  margin: 20px 0 10px;
}

.h4,
h4 {
  font-size: 18px;
}

/* Navigation */
.nav-link {
  color: #ecf0f1;
  font-size: 15px;
  font-weight: bolder;
}

.nav-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Buttons */
.text-right {
  text-align: right;
}

.btn-block {
  display: block;
  width: 100%;
  margin-top: 10px;
}

.btn {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.428;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
}

.btn-success {
  color: #fff;
  background-color: #008cff;
  border-color: #fff;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  color: #fff;
  background-color: #008cff;
  border-color: #fff;
  box-shadow: 0 0 6px #008cff;
}

.btn-success.disabled,
.btn-success[disabled] {
  background-color: #008cff;
  border-color: #fff;
  opacity: .65;
  cursor: not-allowed;
}

.btn-success .badge {
  color: #008cff;
  background: #fff;
}

/* Inputs */
.form-control {
  border-radius: 16px !important;
}

.input {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  padding: 15px;
  background: #272727;
  border: none;
  border-radius: 20px;
  width: 400px;
  color: #ecf0f1;
  box-sizing: border-box;
}

.inputComment {
  font-family: Arial, Helvetica, sans-serif;
  text-align: start;
  padding: 15px;
  background: #272727;
  border: none;
  border-radius: 20px;
  width: 500px;
  height: 100px;
  color: #ecf0f1;
  font-size: 15px;
  resize: none;
}

textarea::-webkit-scrollbar {
  display: none;
}

/* Safari fix */
.safari .inputComment {
  text-align: -webkit-center;
  padding: 2px;
}

/* Input Borders */
.inp-border,
.inp-borderComment {
  padding: 2px;
  margin: 0.5vh 1vh;
  border-radius: 20px;
  background: linear-gradient(330.28deg, #008cff 100%, #008cff 100%);
}

.inp-border {
  max-width: 500px;
}

.inp-borderComment {
  max-width: 700px;
}

.inp-border:hover,
.inp-border:focus-within,
.inp-borderComment:hover,
.inp-borderComment:focus-within {
  background: linear-gradient(80.28deg,
      #008cff 0%, #7b09e9 30.73%, #FF54A6 55.73%, #FF6E1D 79.17%, #FF3E3E 100%);
}

/* Placeholder Colors */
.a2>input,
.a2>textarea {
  color: #ecf0f1;
}

.a2>input::placeholder,
.a2>textarea::placeholder {
  color: #008cff;
  opacity: .6;
  text-align: center;
}

.a2>input:focus::placeholder,
.a2>textarea:focus::placeholder {
  color: transparent;
}

.notesdisplay3 {
  position: relative;
}

/* main arrow triangle */
.notesdisplay3:before {
  content: "";
  position: absolute;
  left: 100%;
  /* push it to the right side */
  top: 50%;
  transform: translateY(-50%);
  /* vertical centering */
  border: 28px solid transparent;
  border-left: 15px solid #008cff;
  /* triangle pointing RIGHT */
  border-right: none;
}

/* optional decorative layer (if you want a two-tone effect) */
.notesdisplay3:after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 30px solid transparent;
  border-left: 15px solid #008cff;
  /* secondary color */
  border-right: none;
  margin-left: -2px;
  z-index: 999;
  /* little offset so it peeks out */
}

/* Scrollable Comment List */
.mydivscroll {
  overflow-y: auto;
  height: 25em;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(globe.webp) no-repeat;
  border: groove 8px #ecf0f1;
  padding: .5rem;
  box-shadow: 0 0 10px 6px #008cff;
}

.mydivscroll::-webkit-scrollbar {
  width: 10px;
  background: transparent;
}

.mydivscroll::-webkit-scrollbar-track {
  background: darkgrey;
}

.mydivscroll::-webkit-scrollbar-thumb {
  background: #656565;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

/* Comment Bubbles */
.comment {
  display: flex;
  flex-wrap: nowrap;
}

.comment-name {
  font-weight: bold;
}

a.comment-name-link {
  color: #008cff;
  text-decoration: none;
}

.comment-txt {
  font-weight: 400;
}

.left-arrow {
  position: relative;
  background: #303030;
  padding: 10px 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  left: 50px;
  max-width: 30rem;
  word-wrap: break-word;
}

.left-arrow::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -10px;
  border: 10px solid transparent;
  border-top: 10px solid #ccc;
}

.left-arrow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  border: 10px solid transparent;
  border-top: 10px solid #303030;
}

.showMoreLess-btn {
  font-weight: bold;
  color: #008cff;
  text-decoration: none;
}

.showMoreLess-btn:hover {
  color: #2cfff1a2;
}

/* Titles */
.postComment span {
  color: #fff;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

.recentComments {
  text-align: center;
  padding-bottom: .5rem;
}

.recentComments span {
  position: relative;
  color: #ff0000;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.recentComments span:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(130deg, #ff7a18, #af002d 41.07%, #319197 76.05%);
}

/* Textarea Feedback */
#textarea_feedback {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: right;
  padding-right: 20px;
  color: #a3a3a3;
}

/* Online Status */
/* Flex wrapper for dot + title */
.live-header {
  display: flex;
  align-items: center;
  gap: 14px;
  /* space between dot and text */
  margin-bottom: 1rem;
}

.live-txt {
  color: #ffffff;
  position: relative;
  top: 0%;
}

/* shrink the dot */
.circle_online {
  position: relative;
  /* no absolute here */
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* keep your pulse animation */
.circle_online:before {
  content: "";
  position: absolute;
  width: 250%;
  height: 250%;
  top: -75%;
  left: -75%;
  border-radius: 50%;
  background: #75daad;
  animation: pulse 1.25s infinite;
}

.circle_online:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #75daad;
  animation: circle 1.25s -0.4s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(.33);
  }

  80%,
  100% {
    opacity: 0;
  }
}

@keyframes circle {
  0% {
    transform: scale(.8);
  }

  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(.8);
  }
}

.float-child {
  float: right;
  padding: 25px;
  margin-right: 25%;
}

/* Footer */
.uicore-footer-wrapper .uicore-copyrights .uicore-copyrights-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
  color: #008cff;
}

.uicore-footer-wrapper a {
  color: #fff;
  position: relative;
}

.uicore-footer-wrapper a:hover {
  color: #2FFFBE;
}

.uicore-footer-wrapper a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #2FFFBE;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform .25s ease-out;
}

.uicore-footer-wrapper a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* ===============================
   RESPONSIVE MEDIA QUERIES
   =============================== */

/* General small devices (phones up to ~480px) */
@media (max-width: 480px) {
  .commentBox {
    width: 100% !important;
    padding: 10px;
    border-radius: 8px;
  }

  .mydivscroll {
    width: 100% !important;
    max-height: 400px;
    right: 0 !important;
    left: 0 !important;
    margin: 0 auto;
  }

  .left-arrow {
    max-width: 100% !important;
    left: 0 !important;
  }

  .btn-success {
    width: 100%;
    /* big tap-friendly submit button */
  }
    .input {
      width: 100%;
    }
  
    .inputComment {
      width: 100%;
    }

    .inp-border {
      max-width: 200px;
    }
  
    .inp-borderComment {
      max-width: 500px;
    }
}

/* Extra small phones (320px – 360px) */
@media (max-width: 360px) {
  .mydivscroll {
    width: 100% !important;
    padding: 0.25rem;
  }

  .left-arrow {
    font-size: 14px;
    padding: 8px 12px;
  }
    .input {
      width: 100%;
    }
  
    .inputComment {
      width: 100%;
    }

    .inp-border {
      max-width: 200px;
    }
  
    .inp-borderComment {
      max-width: 500px;
    }
}

/* Tablets (portrait & landscape) */
@media (min-width: 481px) and (max-width: 768px) {
  .commentBox {
    width: 95% !important;
    margin: 0 auto;
  }

  .mydivscroll {
    width: 95% !important;
    margin: 0 auto;
  }

  .left-arrow {
    max-width: 90%;
  }
    .input {
      width: 100%;
    }
  
    .inputComment {
      width: 100%;
    }

    .inp-border {
      max-width: 200px;
    }
  
    .inp-borderComment {
      max-width: 500px;
    }
}

/* Medium screens (769px – 1024px, iPads, small laptops) */
@media (min-width: 769px) and (max-width: 1024px) {
  .commentBox {
    width: 90%;
    margin: 0 auto;
  }

  .mydivscroll {
    width: 90%;
    margin: 0 auto;
  }
    .input {
      width: 100%;
    }
  
    .inputComment {
      width: 100%;
    }

    .inp-border {
      max-width: 200px;
    }
  
    .inp-borderComment {
      max-width: 500px;
    }
}

/* Add your other device-specific queries here (Pixel, iPad, etc.) */