@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

body {
    background: #f7f7f7;
    color: #333333;
    margin-top: 5rem;
    scroll-behavior: smooth;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #444444;
  }


  ul {
    margin: 0;
  }

  .bg-steel {
    background: #6633FF;
    /* box-shadow: 0 0 6px rgba(0,0,0,0.3); */
  }

  .site-header .navbar-nav .nav-link {
    color: #ffffff;
    font-family:'Poppins';
    font-weight: 100;
    margin: 0px 6px;
    font-size: 15px;
    letter-spacing: 1px;
  }



/* CHANGE 1: Adding this code to change the color of the profile when logged in to white, since the blue does not contrast well wil pruprle */
.navbar-dark.bg-steel .dropdown-toggle {
    color: #ffffff !important;
}

.navbar-dark.bg-steel .dropdown-toggle:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* CHANGE 1: End */

  .site-header .navbar-nav .nav-link:visited {
    color: rgba(255, 255, 255, 0.836);
  }

  .content-section {
    background: #ffffff;
    padding: 10px 20px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    margin-bottom: 20px;
  }

  .site-header .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 0.836);
  }

  .site-header .navbar-nav .nav-link:active {
    color: rgba(255, 255, 255, 0.836);
  }

  .article-title {
    color: #444444;
    font-family: 'poppins';
    font-weight: 600;
  }

  a.article-title:hover {
    color: #1466ff;
    text-decoration: none;
  }

  .article-content {
    white-space: pre-line;
  }

  .article-img {
    height: 65px;
    width: 65px;
    margin-right: 16px;
  }

  .article-metadata {
    padding-bottom: 1px;
    margin-bottom: 4px;
    border-bottom: 1px solid #e3e3e3
  }

  .article-metadata a:hover {
    color: #333;
    text-decoration: none;
  }

  .article-svg {
    width: 25px;
    height: 25px;
    vertical-align: middle;
  }

  .account-img {
    height: 170px;
    width: 170px;
    margin: 20px auto 0 auto;
    padding: 5px;
    border: 5px solid #ebebeb;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    box-sizing: border-box;
    display: block;
    background-color: #ffffff;

    transform: none;
    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
}

.account-img-lg {
    width: 170px;
    height: 170px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    box-sizing: border-box;
    border: 5px solid #ebebeb;
    padding: 0;
    margin: 0 auto;
    background-color: #ffffff;

    filter: none;
    opacity: 1;
    mix-blend-mode: normal;
}

  .online-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color:#07dd00;
    border: 3px solid white;
    bottom: 0;
    right: 10px;
    position: absolute;
  }
  .offline-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color:#6e6e6e;
    border: 3px solid white;
    bottom: 0;
    right: 10px;
    position: absolute;
  }

  .img-cont {
    height: 170px;
    width: 170px;
    position: relative;
  }

  .img-cont2{
    height: 55px;
    width:  55px;
    position: relative;
  }

  .img-cont3{
    height: 78px;
    width:  78px;
    position: relative;
  }

  .online-circle3 {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color:#07dd00;
    border: 3px solid white;
    bottom: -16px;
    right: 2px;
    position: absolute;
  }

  .offline-circle3 {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color:#6e6e6e;
    border: 3px solid white;
    bottom: -16px;
    right: 2px;
    position: absolute;
  }

  .online-circle2 {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color:#07dd00;
    border: 3px solid white;
    bottom: 0;
    right: 6px;
    position: absolute;
  }

  .offline-circle2 {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color:#6e6e6e;
    border: 3px solid white;
    bottom: 0;
    right: 6px;
    position: absolute;
  }

  .online-circle4 {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color:#07dd00;
    border: 3px solid white;
    bottom: 10px;
    right: 10px;
    position: absolute;
  }

  .offline-circle4 {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color:#6e6e6e;
    border: 3px solid white;
    bottom: 10px;
    right: 10px;
    position: absolute;
  }

  .account-img-container{
    display: flex;
    align-items: center;
    justify-content: center;

  }

  .account-heading {
    font-size: 2.5rem;
  }



#searchbar form{
  width: auto;
  display: flex;
  flex-direction: row;
  border-radius: 50px;
  padding: 3px 15px;
  background-color: transparent;
  border: 1px solid  #e4e4e4;
  margin-right: 10px;
}
#searchbar form input::placeholder{
  color: #fff;
  font-size: 14px;
}

@media only screen and (max-width: 991px){
  #searchbar form{
    border-radius: 0;
    margin: 12px 10px 10px 0px;
  }
}

#searchbar form input{
  border: none;
  outline: none;
  color:  #fff;
  font-size: 15px;
  flex: 1;
  background-color:transparent;
}
.search-btn{
  color:#fff;
  border: none;
  width: 25px;
  padding-left: 10px;
  border-left: 1px solid rgba(202, 202, 202, 0.829);
  outline: none;
  background-color: transparent;
}

.search-btn i{
  font-size: 16px;
}


.btnhrt i.icon-blue {
  color: #4b5dac !important;
}

.btncmt i{
  font-size: 22px;
  color: rgb(0, 84, 241);
}


.btn{
  border-radius: 0.5rem;
  padding: 8px 15px;
  font-size: 14px;
}

.btn-warning{
  background-color: rgb(255, 187, 0);
  color: rgb(0, 0, 0);
}

.btn-danger{
  background-color: rgb(255, 20, 20);
  color: rgb(255, 255, 255);
}

.btnhrt{
  padding: 0;
}

.btncmt{
  padding: 0;
}


.btnsave{

  font-size: 24px;
  padding: 0;
  color: rgb(255, 210, 60);
}
.btnsave:hover{
  color: rgb(255, 210, 60);
  cursor: pointer;
}

.btnedit{

  font-size: 22px;
  padding: 0;
  color: rgb(118, 60, 255);
}

.btndel{

  font-size: 22px;
  padding: 0;
  color: rgb(255, 68, 68);
}

.custom-txt{
  width: 100%;
}


.messages-box,
.chat-box {
  height: 58vh;
  overflow-y: scroll;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  width: 5px;
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  width: 1em;
  background-color: rgb(212, 212, 212);
}

.icon-blue {
  color: #4b5dac !important;
}

i.icon-blue,
.dropdown-item i.icon-blue {
  color: #4b5dac !important;
}


.notify-badge{
  position: absolute;
  right:-10px;
  bottom:3px;
  background: white;
  box-shadow: 0px 0px 5px 0.3px;
  text-align: center;
  border-radius: 100%;
  width: 42px;
  height: 42px;
  color:rgb(128, 128, 128);
  padding:5px 10px;
  font-size:20px;
}

/* CHANGE 2: Vertical navigation / mobile sidebar */

/* Fixed top navigation bar. The hamburger, branding, and profile controls
   live inside this bar so they do not overlap page content. */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;

  height: 60px;
  background-color: #ffffff;

  z-index: 10002;
  border-bottom: 1px solid #e5e5e5;
}

/* Slide-out sidebar. It begins below the 60px top navigation bar. */
#sidebar {
  height: calc(100vh - 60px);
  width: 250px;
  position: fixed;
  top: 60px;
  left: -250px;
  z-index: 9999;
  transition: left 0.3s ease;
  overflow-y: auto;
  background-color: #ffffff;
}

#sidebar.active {
  left: 0;
}

/* Main page shifts to the right while the sidebar is open. */
#mainContent {
  transition: transform 0.3s ease;
}

body.sidebar-open #mainContent {
  transform: translateX(250px);
}

/* Phone navbar sizing */
@media (max-width: 768px) {
  #sidebar {
    width: 220px;
    left: -220px;
  }

  #sidebar.active {
    left: 0;
  }

  body.sidebar-open #mainContent {
    transform: translateX(220px);
  }

  #userProfile {
    right: 10px;
  }
}


/* Desktop navbar sizing */
@media (min-width: 769px) {

  body {
    margin-top: 0;
  }

  .site-header {
    height: 48px;
  }

  #sidebar {
    top: 48px;
    height: calc(100vh - 48px);
  }

  #sidebarToggle {
    top: 9px;
  }

  #branding {
    top: 9px;
  }

  #userProfile {
    top: 2px;
  }
}

/* Hamburger is positioned inside .site-header. */
#sidebarToggle {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 24px;
  z-index: 1;
  cursor: pointer;
  color: #000000;
  background: transparent;
  border: none;
}

#sidebar ul.components li a {
  color: #000000;
  display: block;
  padding: 10px 15px;
  font-family: 'Poppins';
}

#sidebar ul.components li a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

/* Branding is positioned inside .site-header. */
#branding {
  position: absolute;
  top: 15px;
  left: 60px;
  z-index: 1;
  display: flex;
  align-items: center;
}

#branding img {
  height: 30px;
  width: auto;
  max-width: 150px;
  display: block;
}

/* Profile dropdown is positioned inside .site-header. */
#userProfile {
  position: absolute;
  top: 8px;
  right: 20px;
  z-index: 1;
  display: flex;
  align-items: center;
  transform: translateY(-2px);
}

#userProfile .dropdown-toggle {
  color: #000;
  font-weight: 500;
}

#userProfile img {
  border: 2px solid #ccc;
}
/* =====================================================================
   GRYD BRAND COLOR SYSTEM
   Logo Purple: #6633FF
   ===================================================================== */

  

:root {
    --gryd-primary: #6633FF;
    --gryd-primary-hover: #5522DD;
    --gryd-primary-active: #4419B8;
    --gryd-primary-soft: #EEE9FF;

    --gryd-info: #0284C7;
    --gryd-info-hover: #0369A1;

    --gryd-secondary: #475569;

    --gryd-success: #16A34A;
    --gryd-warning: #D97706;
    --gryd-danger: #DC2626;
}

/* ==========================================================
   Bootstrap Primary Buttons
   ========================================================== */

.btn-primary,
.btn-primary:visited {
    background-color: var(--gryd-primary) !important;
    border-color: var(--gryd-primary) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--gryd-primary-hover) !important;
    border-color: var(--gryd-primary-hover) !important;
    color: #ffffff !important;
}

.btn-primary:active {
    background-color: var(--gryd-primary-active) !important;
    border-color: var(--gryd-primary-active) !important;
}

/* ==========================================================
   Bootstrap Outline Primary
   ========================================================== */

.btn-outline-primary {
    background: transparent !important;
    color: var(--gryd-primary) !important;
    border-color: var(--gryd-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--gryd-primary) !important;
    border-color: var(--gryd-primary) !important;
    color: #ffffff !important;
}

/* ==========================================================
   Bootstrap Info
   ========================================================== */

.btn-info {
    background-color: var(--gryd-info) !important;
    border-color: var(--gryd-info) !important;
    color: #ffffff !important;
}

.btn-info:hover,
.btn-info:focus {
    background-color: var(--gryd-info-hover) !important;
    border-color: var(--gryd-info-hover) !important;
    color: #ffffff !important;
}

/* ==========================================================
   Bootstrap Outline Info
   ========================================================== */

.btn-outline-info {
    background: transparent !important;
    color: var(--gryd-info) !important;
    border-color: var(--gryd-info) !important;
}

.btn-outline-info:hover,
.btn-outline-info:focus {
    background-color: var(--gryd-info) !important;
    border-color: var(--gryd-info) !important;
    color: #ffffff !important;
}

/* ==========================================================
   Bootstrap Secondary
   ========================================================== */

.btn-secondary {
    background-color: var(--gryd-secondary) !important;
    border-color: var(--gryd-secondary) !important;
    color: #ffffff !important;
}

.btn-outline-secondary {
    color: var(--gryd-secondary) !important;
    border-color: var(--gryd-secondary) !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background-color: var(--gryd-secondary) !important;
    border-color: var(--gryd-secondary) !important;
    color: #ffffff !important;
}

/* ==========================================================
   Brand Links
   ========================================================== */

a.text-primary,
.text-primary {
    color: var(--gryd-primary) !important;
}

a.text-primary:hover,
.text-primary:hover {
    color: var(--gryd-primary-hover) !important;
}

/* ==========================================================
   Brand Utility Classes
   ========================================================== */

.bg-gryd-primary {
    background-color: var(--gryd-primary) !important;
}

.bg-gryd-primary-soft {
    background-color: var(--gryd-primary-soft) !important;
}

.border-gryd-primary {
    border-color: var(--gryd-primary) !important;
}

.text-gryd-primary {
    color: var(--gryd-primary) !important;
}

/* ==========================================================
   Existing Icon Classes
   ========================================================== */

.icon-blue,
.btnhrt i.icon-blue,
.dropdown-item i.icon-blue,
i.icon-blue {
    color: var(--gryd-primary) !important;
}

.btncmt i {
    color: var(--gryd-primary);
}

.btnedit {
    color: var(--gryd-primary);
}

/* ==========================================================
   Existing Article Links
   ========================================================== */

a.article-title:hover {
    color: var(--gryd-primary);
}