/* --- Global & Typography --- */
body {
  font-family: 'Poppins', sans-serif;
  background: #f2f6fc;
}

/* --- Navigation --- */
.nav-link {
  color: #fff !important;
}

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

/* --- Layout & Backgrounds --- */
.bg,
.bg-home-codehap {
  background-image: 
    radial-gradient(circle at 17% 77%, rgba(17, 17, 17, 0.04) 0, rgba(17, 17, 17, 0.04) 50%, rgba(197, 197, 197, 0.04) 50%, rgba(197, 197, 197, 0.04) 100%),
    radial-gradient(circle at 26% 17%, rgba(64, 64, 64, 0.04) 0, rgba(64, 64, 64, 0.04) 50%, rgba(244, 244, 244, 0.04) 50%, rgba(244, 244, 244, 0.04) 100%),
    radial-gradient(circle at 44% 60%, rgba(177, 177, 177, 0.04) 0, rgba(177, 177, 177, 0.04) 50%, rgba(187, 187, 187, 0.04) 50%, rgba(187, 187, 187, 0.04) 100%),
    linear-gradient(19deg, #2662b3, #33a9cb);
}

.bg-home-codehap {
  padding: 85px 0;
}

/* Specific Section Backgrounds */
.hereBG {
  border: 1px solid #2256d1;
  background-image: 
    linear-gradient(90deg, rgba(165, 165, 165, 0.03) 0, rgba(165, 165, 165, 0.03) 8%, rgba(235, 235, 235, 0.03) 8%, rgba(235, 235, 235, 0.03) 9%, rgba(7, 7, 7, 0.03) 9%, rgba(7, 7, 7, 0.03) 14%, rgba(212, 212, 212, 0.03) 14%, rgba(212, 212, 212, 0.03) 17%, rgba(219, 219, 219, 0.03) 17%, rgba(219, 219, 219, 0.03) 95%, rgba(86, 86, 86, 0.03) 95%, rgba(86, 86, 86, 0.03) 100%),
    linear-gradient(67.5deg, rgba(80, 80, 80, 0.03) 0, rgba(80, 80, 80, 0.03) 11%, rgba(138, 138, 138, 0.03) 11%, rgba(138, 138, 138, 0.03) 17%, rgba(122, 122, 122, 0.03) 17%, rgba(122, 122, 122, 0.03) 24%, rgba(166, 166, 166, 0.03) 24%, rgba(166, 166, 166, 0.03) 27%, rgba(245, 245, 245, 0.03) 27%, rgba(245, 245, 245, 0.03) 89%, rgba(88, 88, 88, 0.03) 89%, rgba(88, 88, 88, 0.03) 100%),
    linear-gradient(67.5deg, rgba(244, 244, 244, 0.03) 0, rgba(244, 244, 244, 0.03) 4%, rgba(16, 16, 16, 0.03) 4%, rgba(16, 16, 16, 0.03) 10%, rgba(157, 157, 157, 0.03) 10%, rgba(157, 157, 157, 0.03) 20%, rgba(212, 212, 212, 0.03) 20%, rgba(212, 212, 212, 0.03) 83%, rgba(5, 5, 5, 0.03) 83%, rgba(5, 5, 5, 0.03) 84%, rgba(237, 237, 237, 0.03) 84%, rgba(237, 237, 237, 0.03) 100%),
    linear-gradient(90deg, #fff, #fff);
}

.hereLIST {
  border: 1px solid #caccd1;
  background-image: 
    repeating-linear-gradient(284deg, transparent 0, transparent 1px, #fbfbfb 1px, #fbfbfb 3px),
    repeating-linear-gradient(14deg, transparent 0, transparent 1px, #fbfbfb 1px, #fbfbfb 3px),
    linear-gradient(90deg, #dedede, #dedede);
}

/* --- Components --- */

/* Links & Action Items */
.mylinks,
.mylinks2 {
  padding: 5px 8px;
  margin: 6px 0;
  background-color: #fff;
  
  /* --- REPLACED SOLID COLOR WITH GRADIENT --- */
  background-image: linear-gradient(90deg, #3A469A 0%, #33A9CB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* Essential for gradient text to render correctly without breaking layout */
  display: inline-block; 
  width: 100%; /* Ensures it fills the card like your original */
  box-sizing: border-box;
}

.mylinks {
  font-weight: 600;
}

.mylinks:hover,
.mylinks2:hover {
  /* --- HOVER FIX: Removes gradient so Green shows up --- */
  background-image: none;
  -webkit-text-fill-color: #3A469A;
  color: #3A469A;
  cursor: pointer;
}


/* Status & Labels */
.codehap_hash {
  display: inline-block;
  padding: 0.35em 0.65em;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.done {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: green;
  color: #fff;
  text-align: center;
  padding: 8px;
}

.remove_field {
  color: #caccd1;
}

/* --- Helpers & Responsive --- */
.hide {
  display: none;
}

.hide2 {
  width: 0;
  height: 0;
  opacity: 0;
}

@media only screen and (min-width: 1025px) {
  .badge {
    font-size: 17px;
  }
}