@font-face {
  font-family: 'GT Walsheim Pro';
  src: url('./fonts/GT-Walsheim-Bold-Oblique-Trial-BF651b7fc5f06a0.woff2') format('woff2');
  font-style: normal;
  font-display: swap;
}

html, body {
width: 90%;
height: 100%;
overflow-x: hidden;
  

body{
 background-color: white;
 margin: 0;
 font-family: 'Noto Sans KR', sans-serif;
 display: flex;
 flex-direction: column;
 overflow-x: hidden;
}

@media only screen and (max-width: 767px) {
  display: grid;
  grid-template-columns: auto;
}

.container{
 display: grid;
 grid-template-columns: 1fr;
 grid-template-rows: auto 1fr auto;
 min-height: 100vh;
 width: 100%;
 box-sizing: border-box;
}

@media only screen and (max-width: 767px) {
.container{
 display: grid;
 width: 100%;
 grid-template-columns: auto;
 min-height: 100vh;
}
}




/* TEST SUPPOSED CSS  -- TEST SUPPOSED CSS --*/



@media (min-width: 1024px) {
 #desktop-landing{
  margin: unset;
  font-size: unset;
}
}

#auth-container {
  background-color: white;
  color: black;
  margin: 0 auto;
}

@media (max-width: 400px) {
  #auth-container{
    width: 85%;
  }
}

.how-it-works {
  text-align: center;
  padding: 4rem 2rem;
  background: #f9f9f9;
}

.how-it-works:nth-of-type(even) {
  background: #fff; /* alternate background for contrast */
}

.how-it-works h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.how-it-works p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #555;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.step img {
  width: 80px;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.2rem;
  color: #111;
  margin-bottom: 0.5rem;
}

.step p {
  color: #666;
  font-size: 0.95rem;
  max-width: 250px;
}


.step-icon-container {
            width: 80px; /* matches user's img width */
            height: 80px;
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .step-icon {
            width: 40px;
            height: 40px;
            color: white;
        }
.step {
  border-radius: 16px;
  padding: 2rem 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  transform: translateY(0) scale(1);
}

.step:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  background: #fdfdfd;
}

/* Add subtle hover effect to the icon container */
.step-icon-container {
  transition: all 0.3s ease;
}

.step:hover .step-icon-container {
  transform: scale(1.15);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Icon itself glows a little */
.step:hover .step-icon {
  filter: brightness(1.2);
  transform: rotate(5deg);
  transition: all 0.3s ease;
}

/* Make text react too */
.step h3 {
  transition: color 0.3s ease;
}

.advertisers .step:hover h3 {
  color: #1a73e8;
}

.earners .step:hover h3 {
  color: #28a745;
}





.alert-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(2px);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 999;
      transition: opacity 0.3s ease;
    }

    .hidden {
      display: none;
    }

    /* === ALERT BOX === */
    .alert-box {
      background: #fff;
      padding: 2rem;
      border-radius: 12px;
      width: 90%;
      max-width: 400px;
      text-align: center;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
      animation: popIn 0.3s ease;
    }

    .alert-box h3 {
      margin-bottom: 0.6rem;
      color: #1a73e8;
      font-size: 1.5rem;
    }

    .alert-box p {
      font-size: 1rem;
      margin-bottom: 1.3rem;
      color: #333;
      line-height: 1.5;
    }

    #alert-ok {
      background-color: #1a73e8;
      color: white;
      padding: 0.7rem 1.5rem;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.2s ease;
    }

    #alert-ok:hover {
      background-color: #155fc3;
      transform: scale(1.03);
    }

    @keyframes popIn {
      0% {
        transform: scale(0.8);
        opacity: 0;
      }
      100% {
        transform: scale(1);
        opacity: 1;
      }
    }

    /* === DEMO BUTTON === */
    .demo-btn {
      background-color: #1a73e8;
      color: #fff;
      border: none;
      padding: 0.9rem 1.8rem;
      border-radius: 8px;
      cursor: pointer;
      font-weight: bold;
      transition: all 0.2s ease;
    }

    .demo-btn:hover {
      background-color: #155fc3;
    }

    /* === MOBILE RESPONSIVE === */
    @media (max-width: 600px) {
      .alert-box {
        width: 85%;
        padding: 1.5rem 1.2rem;
        border-radius: 10px;
      }

      .alert-box h3 {
        font-size: 1.2rem;
      }

      .alert-box p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
      }

      #alert-ok {
        width: 100%;
        padding: 0.8rem;
        font-size: 1rem;
      }

      .demo-btn {
        font-size: 1rem;
        width: 80%;
      }
    }


.header-section{
    height: auto;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.781), rgba(0, 0, 0, 0.781)), url('./images/telework-6795505_1280.jpg');/*
    background: linear-gradient(135deg, #1a73e8, #28a745);*/
    background-size: cover;
    background-repeat: no-repeat; 
    
    color: white;
}

.first-row{
    width: 100%;
 display: flex;
 align-items: center;
 justify-content: space-between;
 top: 0;
 z-index: 1000;
 padding-bottom: 0.5rem;

}

@media (max-width: 768px) {
    .first-row{
        justify-content: unset;
    }
}

.desktop-view{
 display: flex;
 flex-direction: row;
 gap: 50px;
 color: #000;
}

@media (max-width: 1300px) {
    .desktop-view{
       gap: 10px; 
    }
}

@media only screen and (max-width: 768px) {
 .desktop-view{
  display: none;
 }
} 


.logo{
 margin-left: 30px;
 display: flex;
 align-items: center;
 justify-items: center;
 justify-content: center;
 transform: translateY(0.5rem);
}


@media only screen and (max-width: 767px){
 .logo{
 margin-left: 15px;
 }
 
}

.main-logo{
    width: 180px;
}

.mobile-logo{
        display: none;
    }

@media (max-width: 767px) {
    .main-logo{
        display: none;
    }
    .mobile-logo{
        display: block;
        width: 150px;
    }
}

/*NAVBAR NAVBAR NAVBAR */
.navbar-toggler {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    /*position: relative;*/
    width: 30px;
    height: 20px;
    background: transparent;
    transform: translateX(4rem);
    border: none;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    z-index: 1001;
}



.navbar-toggler .hamburger-line {
    width: 80%;
    height: 2px;
    background-color: #000;
    border-radius: 10px;
    transition: all 0.3s linear;
    transform-origin: 1px;
}

@media (max-width: 400px) {
 .navbar-toggler{
  transform: translateX(2rem);
 }
}

@media (min-width: 540px) {
 .navbar-toggler{
  transform: translateX(14rem);
 }
}

@media (min-width: 540px) {
 .navbar-toggler{
  transform: translateX(18rem);
 }
}

@media only screen and (min-width: 769px) {
 .hamburger-line{
  display: none;
 }
}
/* The styles that create the "X" */
.navbar-toggler.open .hamburger-line:nth-child(1) {
    transform: rotate(35deg);
    background-color: lightgrey;
}
@media only screen and (min-width: 1024px) {
 .hamburger-line:nth-child(1){
  display: none;
 }
}

.navbar-toggler.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
    background-color: lightgrey;
}

.main-sidebar{
 background-color: #4B33FF;
 position: sticky;
 padding-right: 2rem;
 max-height: 100vh;
 display: none;
}


 .main-sidebar.active {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  top: 0;
  right: 0;
  width: 200px;
  height: 90%;
  background-color: #4B33FF;
  z-index: 1000;
  padding: 5rem 2rem 2rem 2rem;
  overflow-y: auto;
  transition: transform 0.3s ease-in-out;
transform: translateX(10); 
 }
 
 .sidebar-links {
 list-style: none;
 padding: 0;
 margin: 0;
}

.sidebar-links li {
 margin-bottom: 1rem;
}

.sidebar-links a {
 display: block;
 padding: 0.75rem 1rem;
 color: white;
 font-weight: bold;
 text-decoration: none;
 border-radius: 5px;
 transition: background-color 0.2s ease;
}

.switch-button {
 background-color: red;
 margin-bottom: 2rem;
 margin-top: 0.3rem;
 position: sticky;
}

#auth-nav-bar{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.auth-navbar-swith{
    border: solid 1px #4B33FF;
    background-color: #fff;   
}

#auth-navbar-swith{
    color: #4B33FF;
    border-radius: 25px;
}

.sidebar-links a:hover {
 background-color: rgba(255, 255, 255, 0.2);
}

/*NAVBAR NAVBAR NAVBAR*/

.desktop-view a{
 display: flex;
 color: #fff;
 text-decoration: none;
 top: 10px;
 width: 90%;
 justify-content: space-between;
}

.call-to-action{
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 font-weight: bold;
 align-items: center;
 margin-right: 30px;
 transform: translateY(0.5rem);
}

#signup-action-button{
    background-color: #1a73e8;
    color: #fff;
    border-radius: 20px;
    width: 120px;
    height: 40px;
    padding: 8px 8px;
    box-shadow: 0px 0px 10px black;
    cursor: pointer;
}

#signup-action-button:hover{
    background-color: orangered;
}

@media only screen and (max-width: 768px) {
 .call-to-action{
  display: none;
 }
}


.get-started{
 padding: 10px;
 background-color: white;
 color: red;
 align-items: center;
 border: none;
 transform: translateX(10px);
 font-weight: bold;
}

.getting-started{
 display: flex;
 gap: 50px;
 justify-content: center;
 border-bottom: solid 1px lightgrey;
 padding-bottom: 2rem;
 margin: 3rem;
}

@media only screen and (max-width: 767px) {
 .getting-started{
  width: 90%; 
  display: grid;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
  border-sizing: border-box;
  transform: translateX(-0.5rem);
 }
}

.main-intro{
 display: flex;
 align-items: center;
 flex-direction: columns;
}

@media only screen and (max-width: 767px) {
 .main-intro{
  position: relative;
  right: 1rem;
 }
}

.intro-img{
 height: 5rem;
 position: relative;
 bottom: 4rem;
 margin-right: 1rem;
}
@media only screen and (max-width: 767px)}
.intro-img{
 height: 3rem;
 position: relative;
 top: 3px;
}


.intro-text{
 max-width: 7rem;
}

@media only screen and (max-width: 767px) {
 .intro-text{
  max-width: 10rem;
 }
}

.mobile-view{
 display: none;
}

.second-row{
 transform: translateY(-2rem);
 display: flex;
 flex-wrap: wrap;
 position: relative;
 flex-wrap: wrap;
 padding-bottom: 4rem;
 gap: 3rem;
 width: 100%;
 margin: 4rem auto;
 justify-content: space-around;
 left: 3rem;
}

.intro p{
    width: 400px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
}

@media (min-width: 1024px) {
   #intro-second-row-heading{
    transform: translateX(6rem);
} 
}



@media (max-width: 767px) {
 .second-row{
     left: unset;
    } 

    .intro p{
    width: 350px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
}

}


.heading-h1{
 color: #FFE3E0;
 font-weight: bold;
 font-family: 'GT Walsheim Pro', sans-serif;
 font-size: 50px;
 font-style: normal;
 align-items: center;
}

@media (max-width: 767px) {
    .heading-h1{
        font-size: 35px;
        text-align: center;
    }
}

.our-partner-container{
    display: none;
  text-align: center;
  background-color: #155fc3;
  margin: 0 auto;
  padding: 1rem 0;
  max-width: 700px;
}

.partner-p-text{
    transform: translateX(6em);
}

@media (max-width: 768px) {
    .our-partner-container{
    display: none;
}
    
}

.all-partner-logo {
  display: grid;
  grid-template-columns: repeat(4, auto); 
  grid-auto-rows: auto;
  justify-items: start;
  align-items: center;
  gap: 0; 
  transform: translateX(4rem);
  row-gap: 0;
  font-size: 0;
}

.all-partner-logos img:nth-child(n+5) {
  grid-column: span 1; /* normal */
}

@media (max-width: 768px) {
.partner-logos {
  height: 90px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  display: block;
  }
}

@media (max-width: 767px) {
  .all-partner-logo {
    display: none;
  }
}

.partner-logos {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.85;
  margin: 0;
  padding: 0;
  line-height: 0;
  
}

#partner-logos{
   
}

.partner-logos:hover {
  opacity: 1;
  transform: scale(1.05);
}

.background-image{
 width: 21rem;
 height: 15rem;
 border-radius: 5%;
 margin-top: 3rem;
 margin-right: 3rem;
}

@media only screen and (max-width: 767px) {
 .background-image{
  width: 21rem;
  margin-top: 0;
  height: 16rem;
 }
}

.sign-up-now{
 padding: 10px;
 border-radius: /*25px*/;
 border: none;
 background-color: orangered;
 color: white;
 font-weight: bold;
}

.logo-span{
 color: orangered;
}

.login-span{
 color: orangered;
 text-decoration: none;
}

.earners-section{
 display: flex;
 justify-content: center;
 gap: 50px;
 border-bottom: 1px lightgrey solid;
 margin: 0 auto;
 padding-bottom: 2rem;
}

@media only screen and (max-width: 767px) {
 .earners-section{
 position: relative;
 width: 90%;
 display: grid;
 gap: unset;
 right: 0.5rem;
 } 
}

@media only screen and (max-width: 767px){
  .section-image{
   margin-left: 1rem;
   margin-bottom: 1rem;
  }
}

.earner-h1{
 max-width: 15rem;
}


.section-description{
 max-width: 20rem;
}

@media only screen and (max-width: 767px;) {
 .section-description{
  text-align: center;
  margin-right: 0.5rem;
 }
 
}

.sub-intro{
 display: flex;
 gap: 1rem;
 
}

.earn-img{
height: 4rem;
position: relative;
top: 1rem;
border: solid 1px lightgrey;
padding: 20px;
border-radius: 50px;

}


.section-img{
 height: 30rem;
 border-radius: 25px;
 position: relative;
 top: 2rem;
}

.advertisers-section{
 display: grid;
 margin: 0 auto;
 max-width: 100vw;

}

@media only screen and (max-width: 767px){
.advertisers-section{
 position: relative;
 width: 90%;
 border-sizing: border-box;
 justify-content: center;
 margin: 0 auto;
 right: 0.5rem;
}
}




.section-title{
 text-align: center;
}

@media only screen and (max-width: 767px){
    .section-title{
 text-align: unset;
}
}

.second-intro{
 display: grid;
 grid-template-columns: auto auto;
 max-width: 30rem;
 gap: 2rem;
 text-align: center;
 justify-content: center;
 align-items: center;
 margin: 0 auto;
}

@media only screen and (max-width: 767px){
.second-intro{
 width: 100%;
 grid-template-columns: 1fr;
 
}
}

footer{
 background-color: lightgrey;
 padding: 2rem 4rem;
}

@media only screen and (max-width: 767px) {
  footer{
   max-width: 100%;
   border-left: 2px;
   padding: unset;
   padding-left: 1rem;
  }
}

.footer-section{
 display: grid;
 grid-template-columns: auto auto auto auto;
 background-color: lightgrey;
}

@media only screen and (max-width: 767px) {
 .footer-section{
  width: 90%;
  display: grid;
  grid-template-columns: 1fr;
 }
}


.footer-content{
 display: grid;
 gap: 10px;
}

@media only screen and (max-width: 767px) {
  .footer-content{
   position: relative;
   display: grid;
   margin-left: 2px;
   gap: 1px;
   right: ;
   justify-content: start;
  }
}

.footer-header{
 position: relarive;
 bottom: 1rem;
}

a{
 text-decoration: none;
 position: relative;
 color: #000;
 padding-bottom: 8px;
 
}

.special-a{
 position: relative;
 width: 10rem;
}@media only screen and (max-width: 767px) {
 .special-a{
  position: relative;
  top: 1px;
 }
}


.special-b{
 position: relative;
 
 width: 10rem;
}

@media only screen and (max-width: 767px) {
  .special-b{
   position: relative;
   top: 1px;
  }
}

.footer-last{
 background-color: lightgrey;
}
@media only screen and (max-width: 767px) {
 padding: none;
}


.main-section{
 text-align: center;
 border: solid 1px;
 width: 75%;
 margin: 2rem auto;
 

}

@media only screen and (max-width: 767px) {
 .main-section{
  width: 95%;
 }
}




/*LOGIN SECTION     LOGIN SECTION.    LOGIN SECTION*/

.login-section{
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  text-align: flex-start;
}

.auth-container {
  padding: 8px 2rem;
  border-radius: 20px;
  width: 100%;
  max-width: 300px;
  box-shadow: 0 8px 24px #151516;
  text-align: center;
  border: solid 1px lightgrey;
}

@media only screen and (max-width: 767px) {
  .auth-container{
   width: 80%;
   padding: 8px 1rem;
   text-align: center;
  }
}

.input-gender {
    display: flex;
    align-items: center; 
    gap: 5px;
    margin-top: 10px;
    padding: 5px 0;
}


.auth-signup{
    display: none;
}

.auth-login{
    display: block;
}

.auth-changer{
    border: none;
    background-color: white;
    color: #4d33ff;
    font-weight: bold;
    cursor: pointer;
}

.auth-changer:hover{
    color: orangered;
}

.auth-container h2 {
  color: #1a73e8;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

@media only screen and (max-width: 767px) {
  .auth-container h2{
   width: 100%;
   text-align: none;
  }
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: #777;
  margin: 1.5rem 0;
  font-size: 0.85rem;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ddd;
}

.separator:not(:empty)::before {
  margin-right: 0.75em;
}

.separator:not(:empty)::after {
  margin-left: 0.75em;
}

.google-btn {
  width: 100%;
  max-width: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  margin: 0 auto;
  transition: background-color 0.2s;
}

.google-btn:hover {
  background: #f7f7f7;
}

.google-btn img {
  width: 20px;
  height: 20px;
}

.auth-container form input, .auth-container form select {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background-color: white;
  border: 1px solid lightgray;
  border-radius: 6px;
  font-size: 1rem;
}

.auth-container form input{
    max-width: 250px;
}

.auth-signup-completion{
    display: block;
}

.otp-container{
    display: none;
}

#account-type-select, #country-type-select{
    width: calc(100% + 6px);
    max-width: 280px;

}

@media (max-width: 767px) {
    #account-type-select, #country-type-select{
    width: calc(100% + 6px);
    max-width: 270px;
    font-size: 1rem;
	line-height: 1.5;
    color: #000000;
    border: 1px solid lightgray;
}
}

#auth-prompt-text{
    display: flex;
    text-align: flex-start;
    padding-left: 10px;
    font-weight: bold;
    color: gray;
}



@media only screen and (max-width: 767px) {
   .auth-container form input{
    width: 85%;
   }
}

.auth-container form button {
  width: 100%;
  max-width: 300px;
  padding: 0.75rem;
  background-color: #1a73e8;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.auth-container form button:hover {
  background-color: orangered;
}

.loader {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #1a73e8; /* Blue */
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
  display: none; /* Hidden by default */
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.switch-link {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.switch-link a {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
}

.switch-link a:hover {
  text-decoration: underline;
}


.intro-stat-text{
    border: solid 1px white;
    border-radius: 25px;
    text-align: center;
    background-color: #fff;
    position: relative;
    bottom: 1rem;
    padding: 20px;
    border-top: 25px;
    display: flex;
    max-width: 60%;
    justify-content: space-around;
    margin: 0 auto;
    box-shadow: 0px -1px 0px 0px #78787a;
}

@media (max-width: 767px) {
    .intro-stat-text{
    display: flex;
    flex-direction: column;
    border: unset;
    border-top: solid 1px #78787a;
    box-shadow: unset;
}
}

.intro-stat-text p{
    transform: translateY(-1.4rem);
}

#intro-text-border{
    border-right: solid 1px #78787a;
}

@media (max-width: 767px) {
   #intro-text-border{
    display: flex;
    flex-direction: row;
    border-right: solid 1px black;
    align-items: center;
    align-content: center;
    justify-content: center;
} 
}

.main-details{
    display: flex;
    flex-direction: column;
}



/* DASHBOARD SECTION DASHBOARD SECTION DASHBOARD SECTION*/
.dashboard-container {
 background-color: lightgrey;
 min-height: 100vh;
 display: flex;
 flex-direction: column;
 margin: 0 2rem;
}

@media (max-width: 767px) {
    .dashboard-container{
        margin: unset;
    }
}

.dashboard-heading{
display: flex;
background-color: white;
border-bottom: solid 1px #1a73e8;
color: #1a73e8;
font-weight: bold;
justify-content: space-between;
padding: 1rem;
gap: 1rem;
align-items: center;
height: 25px;
}

.dashboard-container a {
 color: #1a73e8;
}

@media only screen and (min-width: 1024px){
 .navbar-toggler{
  display: none;
 }
}

.search-bar{
 display: none;
}
@media (max-width: 767px) {
 .search-bar{
  display: unset;
 }
 
 .search-icon{
  width: 1.5rem;
  height: 1.5rem;
 }
}

@media only screen and (max-width: 767px){
 .desktop-search-bar{
  display: none;
 }
}

.balance-container{
 border: solid 1px lightgrey;
 padding: 0.5rem 1rem;
 border-radius: 10px;
 min-width: 20px;
 height: 20px;
}

.last-three{
 display: flex;
 flex-direction: col;
 gap: 0.5rem;
}

.notification-icon{
 display: flex;
 align-items: center;
 justify-content: center;
}

.notification-icon p{
 color: #1a73e8;
 position: relative;
 transform: translate();
 transform: translateY(-0.7rem);
 right: 0.3rem;
}

.notification-image{
 width: 1.5rem;
 height: 1.5rem;
}

.profile-icon{
 display: flex;
 justify-content: center;
 align-items: center;
}

.profile-image{
 border-radius: 25px;
 width: 3rem;
 height: 3rem;
}

.dashboard-content{
 display: grid;
 grid-template-columns: auto 1fr;
}

@media only screen and (max-width: 767px){
 .dashboard-content{
  grid-template-columns: 1fr;
 }
}

.mobile-sidebar{
 background-color: #1a73e8;
 position: sticky;
 padding-right: 2rem;
}

@media (max-width: 767px) {
    .mobile-sidebar{
    display: none;
}
}


/* General site styles */
html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: white;
}

body {
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    position: relative;
    color: #000;
    padding-bottom: 8px;
}

/* Dashboard Styles */


.first-three {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
}

.navbar-toggler {
    display: none;
}

@media only screen and (max-width: 767px) {
 .navbar-toggler{
  display: block;
    justify-content: flex-end;
    position: relative;
    left: 7rem;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    box-sizing: border-box;
    z-index: 1001;
 }
}

.navbar-toggler .hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s linear;
    transform-origin: 1px;
}

#hamburger-line{
background-color: #fff;
}
@media only screen and (min-width: 1024px) {
 .hamburger-line{
  display: none;
 }
}

/* The styles that create the "X" */
.navbar-toggler.open .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
    background-color: lightgrey;
}
@media only screen and (min-width: 1024px) {
 .hamburger-line:nth-child(1){
  display: none;
 }
}

.navbar-toggler.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.open .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
    background-color: lightgrey;
}

.search-bar {
    display: none;
}

.desktop-search-bar {
    border: solid 1px lightgrey;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.balance-container {
    border: solid 1px #1a73e8;
    padding: 0.5rem 1rem;
    border-radius: 10px;
}

.last-three {
    display: flex;
    gap: 0.5rem;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    flex-grow: 1;
}

.sidebar {
    background-color: green;
    padding-right: 2rem;
    height: 100%;
}

.main-content {
    background-color: #f4f4f4;
    padding: 1rem;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-links li {
    margin-bottom: 1rem;
}

.sidebar-links button {
  border: none;
  border-radius: 5px;
  padding: 10px;
  margin-left: 10px;
  color: #4d33ff;
  font-weight: bold;
}

.sidebar-links button:hover {
  background-color: #45a049;
  color: #fff;
}

@media (max-width: 767px) {
.sidebar-links button {
  margin-bottom: 2rem;
  padding: 10px;
  margin-top: 1rem;
}
}

.sidebar-links a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.switch-button{
    background-color: red;
    margin-bottom: 2rem;
    margin-top: 0.3rem;
    position: sticky;
    top: 100vh;
}

.sidebar-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section and Content Grid */
.hero-section {
    background-color: #f1f1f1;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Responsive styles */
@media only screen and (max-width: 767px) {
    .dashboard-content {
        grid-template-columns: 1fr;
        
    }
    .sidebar {
        display: none;
    }
    .mobile-sidebar.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 200px;
        height: 90%;
        background-color: #1a73e8;
        z-index: 1000;
        padding: 5rem 2rem 2rem 2rem;
        overflow-y: auto;
        transition: transform 0.3s ease-in-out;
        transform: translateX(10);
    }
}

/*@media only screen and (min-width: 768px) {
    . {
        display: none;
    }
} */

@media (max-width: 767px) {
    .search-bar {
        display: unset;
    }
    .desktop-search-bar {
        display: none;
    }
}




.main-content {
 background-color: #f4f4f4;
}

.popup-surveys{
 display: grid;
 grid-template-columns: 1fr;
 background: white;
 color: #1a73e8;
 font-weight: bold;
 gap: 1rem;
 width: 70%;
 max-height: 100px;
 border-radius: 10px;
 padding: 0;
 border: solid 1px #1a73e8;
 box-shadow: #1a73e8;
 margin: 0 auto;
}
@media (max-width: 767px) {
.popup-surveys{
 width: 100%;
}
}
.surveys-title{
 display: flex;
 margin: 0 auto;
 padding-top: 5px;
 transform: translateY(0.75rem);
 gap: 0.5rem
}
.surveys-title h4{
 transform: translateY(-1.35rem);
 color: red;
}

h4 span{
 color: #1a73e8;
}

.survey-details{
 display: flex;
 justify-content: center;
 transform: translateY(-2rem);
 gap: 0.5rem;
}

.survey-details .survey-minutes {
 color: #000;
}

.survey-details p span{
 color: red;
}
  .tab-container {
    display: flex;
    justify-content: center;
    width: 95%;
    max-width: 500px;
    background-color: #fff;
    margin: 0.5rem auto;
    border-radius: 12px;
    border: solid 1px #4b33ff;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
 }

 .tab-button {
   flex-grow: 1;
   text-align: center;
   padding: 12px 20px;
   cursor: pointer;
   font-weight: bold;
   font-size: 14px;
   text-transform: uppercase;
   border: none;
   background-color: transparent;
   color: #4d33ff;
   border-radius: 8px;
   transition: all 0.3s ease-in-out;
   margin: 0 5px;
   }
   
  .tab-button:active {
    background-color: black;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    
    .tab-button.active a{
        color: white;
    }
        
   .tab-button:hover:not(.active) {
    background-color: #f0eefc;
   }

.card {
 background-color: #fff;
 max-width: 900px;
 margin: 0 auto;
 border: 1px solid #1a73e8;
 margin-top: 2rem;
 border-radius: 8px;
 padding: 1.5rem;
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media only screen and (min-width: 1024px) {
 .card{
    width: 850px;
 }

 #sub-container{
    width: 700px;
}
}

.card:hover {
 transform: translateY(-5px);
 box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.card h2 {
 margin-top: 0;
 color: #1a73e8;
}

.card p {
 color: #666;
}

#card-test{
    color: red;
}

#card-test span{
    font-weight: bold;
}

.card-body{
 width: 100%;
 border-top: solid 1px #1a73e8;
}


/*for tasks section*/
         /*  .task-container {
            max-width: auto;
            margin: 2rem auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            }
            @media (max-width: 767px){
              .task-container{
                display: flex;
                flex-direction: column;
              }
            }*/
            
            .task-card-container{
              display: grid;
              grid-template-columns: 1fr 1fr;
              gap: 16px;
            }
            @media (max-width: 767px){
              .task-card-container{
                display: flex;
                flex-direction: column;
              }
            }
            
            .task-card {
            background: white;
            border-radius: 12px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            border: 1px solid #1a73e8;
        }
        
        .tasks-header {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 16px;
        }
        
         .task-icon {/*image class*/
            width: 60px;
            height: 60px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            flex-shrink: 0;
            color: white; 
        }
        
         .task-icon.king {
            background: linear-gradient(135deg, #4CAF50, #45a049);
        }

        .task-icon.lol {
            background: linear-gradient(135deg, #2196F3, #1976D2);
        }

        .task-icon.semrush {
            background: linear-gradient(135deg, #FF9800, #F57C00);
        }
        
        .task-title-section {
            flex: 1;
        }

        .task-name {
            font-size: 16px;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 4px;
        }

        .task-price {
            font-size: 18px;
            font-weight: 700;
            color: #1a73e8;
            text-align: right;
            margin-left: auto;
        }

        .task-details {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 16px;
            font-size: 13px;
            color: #6c757d;
        }

        .detail-item {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .detail-label {
            font-weight: 500;
            color: #495057;
        }

        .task-description {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 12px;
            margin-bottom: 16px;
            font-size: 12px;
            color: #6c757d;
            line-height: 1.3;
        }

        .desc-item {
            background: #f8f9fa;
            padding: 4px 8px;
            border-radius: 4px;
            border: 1px solid #e9ecef;
            white-space: nowrap;
        }

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

        .task-credits {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 12px;
        }
        
        .credit-badge {
            background: #1a73e8;
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-weight: 500;
            font-size: 11px;
        }

        .credit-badge.manual {
            background: #1a73e8;
            color: white;
        }

        .hide-link {
            color: #6c757d;
            text-decoration: none;
            font-size: 11px;
        }

        .task-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .view-btn {
            background: #1a73e8;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            cursor: pointer;
            font-size: 12px;
            font-weight: 500;
        }
        
        .view-btn a{
            color: white;
        }

        .view-btn:hover {
            background: #218838;
        }

        .instructions-link {
            color: #28a745;
            text-decoration: none;
            font-size: 12px;
            font-weight: 500;
        }

        .instructions-link:hover {
            text-decoration: underline;
        }



 /* Desktop Grid Layout: Two columns */
        .stats-container {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            width: 100%;
            color: #000;
            max-width: 900px;
            margin: 0 auto;
            margin-top: 2rem;
        }
        
        .stats-container h2 {
            color: #000;
        }

        .stat-card {
            background-color: #fff;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            transition: transform 0.2s ease-in-out;
            min-height: 120px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            border: solid 1px #1a73e8;
            text-align: center; /* This is the key change to center the text */
        }

        .stat-card:hover {
            transform: translateY(-5px);
        }

        .card-heading {
            font-size: 14px;
            color: #777;
            text-transform: uppercase;
            font-weight: bold;
            margin-bottom: 15px;
        }

        /* New styling for just the price container */
        .price-container {
            display: inline-block; /* Wraps tightly around the text */
            background-color: #4d33ff;
            color: #fff;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 28px;
            font-weight: bold;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        
        /* Mobile Layout: Stacked single column and reduced space */
        @media (max-width: 767px) {
            .stats-container {
                grid-template-columns: 1fr; /* Single column on mobile */
                gap: 15px;
            }
            
            .stat-card {
                width: 100%; /* Full width to reduce unnecessary space */
                box-sizing: border-box;
            }
        }
        
        .leaderboard-container {
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            max-width: 700px;
            margin-top: 2rem;
            margin: 2rem auto;
            border: solid 1px #4b33ff;
            
        }

       #leaderboard-container {
            max-width: 850px;   
        }

       .leaderboard-container h2 {
            text-align: center;
            color: #4b33ff;
            margin-bottom: 20px;
        }
        .leaderboard-table {
            width: 100%;
            /* Border on the start, end, and top of the table container */
            border-collapse: collapse;
            text-align: center;
        }
        .leaderboard-table th, .leaderboard-table td {
            padding: 12px 8px;
            /* Only bottom border for horizontal lines */
            border-bottom: 1px solid #4b33ff;
        }
        .leaderboard-table th {
            background-color: #f8f8f8;
            color: #555;
            text-transform: uppercase;
            font-size: 14px;
        }
        .profile-cell {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }
        .profile-image {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-bottom: 5px;
            object-fit: cover;
        }
        .username {
            font-size: 12px;
            color: #
        }
        
        .community-referral-container {
            display: flex;
            gap: 20px;
            width: 100%;
            max-width: 900px;
            margin: 0 auto;
        }

        .community-card, .referral-card {
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            padding: 20px;
            border: solid 1px #4b33ff;
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            box-sizing: border-box; /* Added to ensure padding is included in the width */
        }
        
        #referral-card{
            margin-top: 2rem;
            margin-bottom: 0.4rem;
        }

        @media (min-width: 1024px) {
           #referral-card{
            margin: 2rem auto;
            width: 700px;
            min-height: 300px;
            padding: 10px;
        } 
        }

        .card-title {
            font-size: 18px;
            font-weight: bold;
            color: #4b33ff;
            margin-bottom: 15px;
        }

        .referral-link-container {
            background-color: #f0eefc;
            color: #4d33ff;
            padding: 10px 15px;
            border-radius: 8px;
            margin-bottom: 15px;
            font-size: 14px;
            word-break: break-all;
        }

        .referral-button, .community-button {
            background-color: #4d33ff;
            color: #fff;
            border: none;
            padding: 12px 25px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }

        .referral-button:hover, .community-button:hover {
            background-color: #3a25cc;
        }

        .community-icons {
            margin-top: 15px;
        }

        .community-icons a {
            display: inline-block;
            margin: 0 10px;
            font-size: 24px;
            color: #777;
            text-decoration: none;
        }

        .community-icons a:hover {
            color: #4d33ff;
        }

        /* Mobile Styles */
        @media (max-width: 768px) {
            .community-referral-container {
                flex-direction: column; /* Stack vertically on mobile */
                gap: 15px; /* Replaced with margin for cleaner mobile layout */
            }
            .community-card, .referral-card {
                width: 100%;
                flex: none;
            }
        }
        
        
        
   /*DEPOSIT SECTION. DEPOSIT SECTION.  DEPOSIT SECTION*/     
      
      .add-funds-container {
            max-width: 600px;
            margin: 0 auto;
            background-color: #fff;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            box-sizing: border-box;
            border: solid 1px #4b33ff;
        }

        .add-funds-header {
            margin-bottom: 25px;
            border-bottom: 1px solid #e0e0e0;
            padding-bottom: 20px;
        }

        .add-funds-header h1 {
            font-size: 24px;
            font-weight: bold;
            color: #4b33ff;
            margin: 0;
        }

        .deposit-form-group {
            margin-bottom: 20px;
        }

        .deposit-form-group label {
            display: block;
            font-weight: bold;
            color: #555;
            margin-bottom: 8px;
        }

        .deposit-form-group input[type="number"] {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 16px;
            box-sizing: border-box;
            transition: border-color 0.2s ease;
        }
        
        .deposit-form-group input[type="number"]:focus {
            outline: none;
            border-color: #4d33ff;
        }

        .payment-methods {
            margin-bottom: 20px;
        }

        .payment-method-card {
            display: flex;
            align-items: center;
            background-color: #f8f8f8;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 10px;
            border: 1px solid #e0e0e0;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .payment-method-card:hover {
            border-color: #4d33ff;
            box-shadow: 0 2px 8px rgba(77, 51, 255, 0.1);
        }

        .payment-method-card input[type="radio"] {
            margin-right: 15px;
            accent-color: #4d33ff;
        }

        .payment-method-card label {
            font-size: 16px;
            font-weight: bold;
            color: #333;
            margin: 0;
            cursor: pointer;
        }

        .manual-details, .automatic-details {
            background-color: #f8f8f8;
            border-left: 5px solid #4d33ff;
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
        }
        
        .manual-details h3, .automatic-details h3 {
            margin-top: 0;
            color: #333;
        }

        .details-list {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }
        
        .details-list li {
            margin-bottom: 10px;
            color: #555;
        }
        
        .details-list li strong {
            color: #333;
        }

        .action-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            margin-top: 30px;
            border-top: 1px solid #e0e0e0;
            padding-top: 20px;
        }

        .action-buttons button {
            padding: 12px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }
        
        .btn-proceed {
            background-color: #4d33ff;
            color: #fff;
        }
        
        .btn-proceed:hover {
            background-color: #3a25cc;
        }

        .btn-cancel {
            background-color: #e0e0e0;
            color: #555;
        }
        
        .btn-cancel:hover {
            background-color: #ccc;
        }

        @media (max-width: 768px) {
            .action-buttons {
                flex-direction: column;
            }
            .action-buttons button {
                width: 100%;
            }
        }
      
      
         
         
      /* Earn section */
           .earn-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
            background-color: #ffffff;
            border: 1px solid #4d33ff;
            padding: 20px;
            padding-top: 30px;
            padding-bottom: 30px;
            border-radius: 10px;
            max-width: 500px;
            margin: 0 auto;
            justify-content: center;
            margin-top: 3rem;
            width: auto;
        }

        .earn-tab {
            background-color: #4d33ff;
            display: flex;
            flex-direction: column;
            gap: 0.3rem;
            color: #ffffff;
            font-size: 1.2em;
            height: 50px;
            font-weight: bold;
            text-align: center;
            align-items: center;
            justify-content: center;
            padding: 50px 15px;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            user-select: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
        }
        @media (min-width: 1024px) {
            .earn-tab{  
                padding: unset;
                gap: unset; 
                width: 200px;
                height: 200px;
                margin: 0 auto;
            }
        }
        .earn-container a{
            color: white;
        }
        
       .earn-container a:hover{
            color: #4b33ff;
       }

        .earn-tab:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 15px #4d33ff;
            background-color: white;
            color: #4d33ff;
        }
/*
        .earn-tab a:hover{
            color: #4b33ff;
       } */

        .earn-tab:active {
            transform: translateY(0);
            box-shadow: 0 2px 5px red;
        }
        
        /* statistics section */
        
         .stat-container {
            max-width: 700px;
            margin: 2rem auto;
            background-color: #ffffff;
            border: 1px solid #4d33ff;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        }

        .stat-container h1 {
            color: #4d33ff;
            text-align: center;
            margin-bottom: 30px;
            font-size: 2.5em;
        }
        
        .stat-container h2{
            color: #555;
        }

        .stats-grid, .info-grid {
            display: grid;
            grid-template-columns: auto auto;
            gap: 20px;
            margin-bottom: 30px;
        }
        
          .earn-card {
            background-color: #4d33ff;
            color: #ffffff;
            padding: 10px; /* Reduced padding from 25px */
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
           .earn-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        }

        .earn-card h3 {
            margin: 0 0 5px 0; /* Reduced margin */
            font-size: 1em; /* Reduced font size from 1.1em */
            text-transform: uppercase;
            letter-spacing: 1px;
            opacity: 0.8;
        }

        .earn-card .value {
            font-size: 2.5em; /* Reduced font size from 3em */
            font-weight: bold;
        }
        
        .statistics-title {
            color: #4d33ff;
            border-bottom: 1px solid #4d33ff;
            padding-bottom: 10px;
            margin-top: 40px;
            margin-bottom: 25px;
            font-size: 1.8em;
        }
        
        .info-card {
            background-color: #ffffff;
            border: 1px solid #333;
            color: #333;
            padding: 10px;
            border-radius: 12px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        .info-card .label {
            font-weight: bold;
            color: #555;
            font-size: 1.1em;
            display: block;
            margin-bottom: 5px;
        }

        .info-card .value {
            font-size: 1.2em;
            color: #555;
        }

        .table-container {
            overflow-x: auto;
        }
        
         .history-table {
            width: 100%;
            border-collapse: collapse;
        }

        .history-table th, .history-table td {
            padding: 20px 15px;
            text-align: left;
            border-bottom: 1px solid #eee;
        }

        .history-table th {
            background-color: #333;
            color: #ffffff;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .history-table tbody tr:nth-child(even) {
            background-color: #f9f9f9;
        }

        .status-completed-transaction {
            color: #28a745;
            font-weight: bold;
        }

        .status-pending-transaction {
            color: #ffc107;
            font-weight: bold;
        }

        .status-failed {
            color: #dc3545;
            font-weight: bold;
        }

        .referral-link {
            color: #333;
            font-weight: bold;
            word-break: break-all;
        }


                /* --- Mobile Responsiveness --- */
        @media (max-width: 600px) {
            h1 {
                font-size: 2em;
            }

            .stat-card .value {
                font-size: 2em;
            }

            .statistics-title {
                font-size: 1.5em;
            }
            
            .stats-grid, .info-grid {
                grid-template-columns: 1fr;
            }

            /* The table will now be a standard horizontal table that scrolls on mobile */
            .table-container {
                overflow-x: auto;
            }
        }


 /*SETTING SECTION    SETTING SECTION SETTING SECTION*/
        
        .settings-container {
            max-width: 900px;
            width: 90%;
            margin: 0 auto;
            background-color: #ffffff;
            border: 1px solid #4d33ff;
            border-radius: 10px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
            padding: 20px;
        }

        .settings-container h1 {
            color: #4d33ff;
            text-align: center;
            margin-bottom: 40px;
            font-size: 2.5em;
        }

        .settings-container h2 {
            color: #4d33ff;
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 10px;
            margin-top: 30px;
            margin-bottom: 20px;
            font-size: 1.8em;
        }

        .settings-container h3 {
            color: #4d33ff;
            margin-top: 25px;
            margin-bottom: 15px;
            font-size: 1.5em;
        }

        .settings-container p {
            color: #000000;
            line-height: 1.6;
        }

        .settings-container p{
            padding-left: 10px;
        }

        /* Styling for the individual setting sections */
        .setting-section {
            padding: 20px;
            margin: 10px;
            border: 1px solid #ddd;
            border-radius: 8px;
            margin-bottom: 50px;
            background-color: #f9f9f9;
        }

        /* Form and input styling */
        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: #333;
        }

        .form-group input {
            width: 100%;
            padding: 10px;
            box-sizing: border-box;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 1em;
        }
        
        #bio{
            width: 100%;
            border: 1px solid lightgray;
            border-radius: 5px;
        }

        .btn {
            background-color: #4d33ff;
            color: #ffffff;
            border: none;
            padding: 12px 20px;
            border-radius: 5px;
            font-size: 1em;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        
        .btn a{
            color: white;
        }

        .btn:hover {
            background-color: #3e26d9;
        }

        /* Profile picture styling */
        .profile-picture-upload {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .profile-picture {
            width: 100px;
            height: 100px;
            background-color: #ddd;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            border: 2px solid #4d33ff;
        }
        
        .profile-picture img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .upload-options {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        /* Responsive adjustments */
        @media (max-width: 600px) {
            .settings-container {
                padding: 15px;
            }
            .profile-picture-upload {
                flex-direction: column;
                text-align: center;
            }
        }

/*REPORT SECTION*/

/*Report field is inheriting style from task container*/

#report-field{
    border-color: #4b33ff;
    border-radius: 10px;
    padding: 10px;
    width: auto;
}

.report-button{
    background-color: #4b33ff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 1rem;
}



/*TAB CONTAINER    TAB CONTAINER.  TAB CONTAINER*/

 .tab-container {
    display: flex;
    justify-content: center;
    width: 90%;
    max-width: 490px;
    background-color: #fff;
    margin: 0.5rem auto;
    border-radius: 12px;
    border: solid 1px #4b33ff;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
 }

 .tab-button {
   flex-grow: 1;
   text-align: center;
   padding: 12px 20px;
   cursor: pointer;
   font-weight: bold;
   font-size: 14px;
   text-transform: uppercase;
   border: none;
   background-color: transparent;
   color: #4d33ff;
   border-radius: 8px;
   transition: all 0.3s ease-in-out;
   margin: 0 5px;
   }
   
  .tab-button.active {
    background-color: #4d33ff;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
        
   .tab-button:hover:not(.active) {
    background-color: #f0eefc;
   }

.card {
 background-color: #fff;
 max-width: 900px;
 margin: 0 auto;
 border: 1px solid #1a73e8;
 margin-top: 2rem;
 border-radius: 8px;
 padding: 1.5rem;
 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
 transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media only screen and (max-width: 767px) {
 .card{
 }
}

.card:hover {
 transform: translateY(-5px);
 box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.card h2 {
 margin-top: 0;
 color: #1a73e8;
}

.card p {
 color: #666;
}

#card-test{
    color: red;
}

#card-test span{
    font-weight: bold;
}

.card-body{
 width: 100%;
 border-top: solid 1px #1a73e8;
}



        
        
        /* TASK PERFORMANCE SECTION.    TASK PERFORMANCE SECTION*/
        
        
        .task-submission-container {
            width: 100%;
            max-width: 900px;
            margin: 2rem auto;
            padding: 25px;
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            box-sizing: border-box;
        }

        @media (min-width: 1024px) {
            .task-submission-container{
                max-width: 700px;
            }
        }

        .task-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 15px;
        }

        .task-title-and-info {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .task-title {
            font-size: 28px;
            font-weight: bold;
            color: #4b33ff;
            margin: 0;
        }
        
        .advertiser-id {
            font-size: 14px;
            color: #777;
            text-transform: uppercase
        }
        
        .advertiser-id span{
            font-weight: bold;
        }

        .task-status-and-timer {
            display: flex;
            align-items: center;
            gap: 5px;
            text-align: center;
        }
        
        .timer-and-p{
            transform: translateY(-1rem);
        }
        
        .task-status-and-timer p{
           transform: translateY(1rem);
           color: #4d33ff;
           font-weight: bold;
        }

        .task-type-badge {
            background-color: #4d33ff;
            color: #fff;
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 14px;
            text-transform: uppercase;
        }
        
        .timer {
            font-size: 24px;
            font-weight: bold;
            color: #f44336;
        }

        .section {
            margin-bottom: 30px;
        }

        .task-section-title {
            font-size: 20px;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
        }
        
        .instructions-list {
            list-style-type: none;
            padding-left: 0;
        }

        .instructions-list li {
            background-color: #f8f8f8;
            padding: 15px;
            margin-bottom: 10px;
            border-radius: 8px;
            border-left: 4px solid #4d33ff;
            font-size: 16px;
            color: #555;
            line-height: 1.5;
        }

        .proof-submission-section .form-group {
            margin-bottom: 20px;
        }

        .proof-submission-section .form-group label {
            display: block;
            font-weight: bold;
            margin-bottom: 8px;
            color: #555;
        }
        
        #task-image-upload{
            color: #fff;
        }
        
        .proof-submission-section textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 16px;
            box-sizing: border-box;
            min-height: 100px;
        }

        .image-upload-task-wrapper {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .image-upload-wrapper label{
            color: white;
        }

        .image-upload-label {
            background-color: #4d33ff;
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            font-weight: bold;
            cursor: pointer;
            text-align: center;
            transition: background-color 0.3s ease;
        }
        
        .image-upload-label:hover {
            background-color: #3a25cc;
        }

        #image-proof-upload {
            display: none;
        }

        .action-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            margin-top: 30px;
        }

        .action-buttons button {
            padding: 12px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s ease;
            color: #fff;
        }

        .btn-submit {
            background-color: #28a745;
        }
        .btn-submit:hover {
            background-color: #218838;
        }

        .btn-cancel {
            background-color: #e0e0e0;
            color: #555;
        }
        .btn-cancel:hover {
            background-color: #ccc;
        }

        .btn-report {
            background-color: #f44336;
        }
        .btn-report:hover {
            background-color: #d32f2f;
        }
        
        @media (max-width: 768px) {
            .task-submission-container {
                padding: 15px;
            }
            .task-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
            .task-status-and-timer {
                width: 100%;
                justify-content: space-between;
            }
            .action-buttons {
                flex-direction: column;
            }
            .action-buttons button {
                width: 100%;
            }
        }
        
        
        /* SURVEY SECTION.     SURVEY SECTION.   SURVEY SECTION*/
        
        
        .survey-providers-page {
            width: 100%;
            max-width: 800px;
            margin: 2rem auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            box-sizing: border-box;
            border: 1px solid #4b33ff;
        }

        .survey-page-header {
            margin-bottom: 25px;
        }
        
        .survey-page-header h1 {
            font-size: 28px;
            color: #4b33ff;
            text-align: center;
        }

        /* Desktop Table Styling */
        .providers-table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
        }

        .providers-table th, .providers-table td {
            padding: 15px 20px;
            border-bottom: 1px solid #e0e0e0;
        }

        .providers-table th {
            font-size: 14px;
            color: #777;
            text-transform: uppercase;
        }
        
        .providers-table tbody tr:last-child td {
            border-bottom: none;
        }

        .provider-name {
            font-weight: bold;
            color: #333;
        }
        
        .provider-rate {
            font-weight: bold;
            color: #4d33ff;
        }

        .provider-length {
            color: #555;
        }

        #survey-start-btn {
            background-color: #4d33ff;
            color: #fff;
            padding: 8px 15px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }

        .survey-start-btn:hover {
            background-color: #3a25cc;
        }

        /* Mobile-first styling (cards) */
        @media (max-width: 600px) {
            .providers-table {
                border: none;
            }

            .providers-table thead {
                display: none; /* Hide table headers on mobile */
            }

            .providers-table tr {
                display: block;
                margin-bottom: 15px;
                background-color: #f8f8f8;
                border-radius: 8px;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            }

            .providers-table td {
                display: flex;
                justify-content: space-between;
                padding: 10px 15px;
                border-bottom: 1px solid #f0f0f0;
            }

            .providers-table td:before {
                content: attr(data-label);
                font-weight: bold;
                color: #777;
            }

            .providers-table tbody tr:last-child td {
                border-bottom: 1px solid #f0f0f0;
            }
            
            .providers-table tbody tr:last-child td:last-child {
                border-bottom: none;
            }
        }
        
        
        
        
        /* ADVERTISERS DASHBOARD.      ADVERTISERS DASHBOARD */
        
         .advertiser-dashboard {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px; 
            box-sizing: border-box; 
        }

        .ad-dashboard-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .ad-dashboard-header h1 {
            font-size: 28px;
            color: #4b33ff;
        }

        .advertiser-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 25px;
        }

        .ad-stat-card {
            background-color: #fff;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            flex: 1 1 250px;
            text-align: center;
            border: solid 1px #4b33ff;
            box-sizing: border-box;
        }

        .ad-stat-card-title {
            font-size: 14px;
            color: #777;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .ad-stat-card-value {
            font-size: 32px;
            font-weight: bold;
            color: #4d33ff;
        }
        
        .ad-dashboard-section {
            background-color: #fff;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            margin-bottom: 25px;
            box-sizing: border-box;
            border: 1px solid #4b33ff;
        }

        .ad-section-title {
            font-size: 20px;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
        }

        .chart-placeholder {
            width: 100%;
            height: 250px;
            background-color: #f8f8f8;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #aaa;
            font-size: 14px;
            font-style: italic;
        }

        .ad-quick-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
        }

        .ad-action-button {
            flex: 1 1 200px;
            background-color: #4d33ff;
            color: #fff;
            text-align: center;
            padding: 15px 20px;
            border-radius: 8px;
            text-decoration: none;
            font-weight: bold;
            transition: background-color 0.3s ease;
            box-sizing: border-box;
        }
        
        .ad-dashboard-section a{
            color: white;
        }

        .ad-action-button.secondary {
            background-color: #fff;
            color: #4d33ff;
            border: 2px solid #4d33ff;
        }

        .ad-action-button:hover {
            background-color: #3a25cc;
        }

       
        @media (max-width: 768px) {
            .ad-dashboard-header {
                flex-direction: column;
                align-items: flex-start;
            }

            .advertiser-stats, .ad-quick-actions {
                flex-direction: column;
                gap: 0; 
            }

            .ad-stat-card, .ad-action-button {
                width: 100%;
                flex: none;
                margin-bottom: 15px;
            }
        }
        
        
        
        /* CREATE CAMPAIGN.     CREATE CAMPAIGN.      CREATE CAMPAIGN*/
        
        .back-link {
            display: inline-block;
            margin-left: 20px; /* Aligns with the container on desktop */
            margin-bottom: 15px;
            color: #4d33ff;
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s ease;
        }

        .back-link:hover {
            color: #3a25cc;
        }

       /* .create-campaign-page {
            width: 100%;
            /*max-width: 1020px; 
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            box-sizing: border-box;
        } */

        .page-header {
            margin-bottom: 30px;
            text-align: center;
        }

        .page-header h1 {
            font-size: 28px;
            color: #4b33ff;
        }
        
        .form-section {
            margin-bottom: 25px;
        }

        .form-section-title {
            font-size: 20px;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
            border-bottom: 2px solid #e0e0e0;
            padding-bottom: 10px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-weight: bold;
            margin-bottom: 8px;
            color: #555;
        }

        .form-group input[type="text"],
        .form-group input[type="number"],
        .form-group input[type="url"],
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 16px;
            box-sizing: border-box;
            transition: border-color 0.3s ease;
        }

        .form-group input[type="text"]:focus,
        .form-group input[type="number"]:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            border-color: #4d33ff;
            outline: none;
        }

        .radio-options {
            display: flex;
            gap: 20px;
        }

        .radio-options label {
            display: flex;
            align-items: center;
            font-weight: normal;
        }
        
        .radio-options input[type="radio"] {
            margin-right: 8px;
        }

        .action-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            margin-top: 30px;
        }

        .action-buttons button,
        .action-buttons a {
            padding: 12px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            text-decoration: none;
            text-align: center;
            transition: background-color 0.3s ease;
        }

        .action-buttons .btn-secondary {
            background-color: #e0e0e0;
            color: #555;
        }

        .action-buttons .btn-primary {
            background-color: #4d33ff;
            color: #fff;
        }

        .action-buttons .btn-primary:hover {
            background-color: #3a25cc;
        }
        
        .action-buttons .btn-secondary:hover {
            background-color: #ccc;
        }

        /* Checkbox styling */
        .checkbox-group {
            display: flex;
            align-items: center;
            margin-top: 10px;
            justify-content: flex-start;
            justify-items: flex-start;
        }
        
        .checkbox-group input[type="checkbox"] {
            margin-right: 10px;
            
        }

        @media (max-width: 600px) {
            .back-link {
                margin: 0 10px 15px 10px;
                display: block; /* Makes it a block on mobile */
            }
            .create-campaign-page {
                padding: 15px;
            }
            .page-header h1 {
                font-size: 24px;
            }
            .action-buttons {
                flex-direction: column;
            }
            .action-buttons button,
            .action-buttons a {
                width: 100%;
            }
        }
       
    
    
    /* SUPPORT TICKET.    SUPPORT TICKET.     SUPPORT TICKET*/
    
    .tickets-container {
            max-width: 700px;
            margin: 2rem auto;
            background-color: #fff;
            padding: 25px;
            border-radius: 12px;
            border: solid 1px #4b33ff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .tickets-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
        }

        .tickets-header h1 {
            font-size: 24px;
            font-weight: bold;
            color: #4b33ff;
            margin: 0;
        }

        #create-ticket-btn {
            background-color: #4d33ff;
            color: #fff;
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            font-weight: bold;
            cursor: pointer;
            text-decoration: none;
            transition: background-color 0.3s ease;
        }
        
        .ticket-header a{
            color: white;
        }
        
        .create-ticket-btn:hover {
            background-color: #3a25cc;
        }

        .ticket-list {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }

        .ticket-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #f8f8f8;
            padding: 18px;
            border-radius: 10px;
            margin-bottom: 15px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            transition: transform 0.2s ease;
            cursor: pointer;
        }

        .ticket-item:hover {
            transform: translateY(-2px);
        }

        .ticket-info {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .ticket-subject {
            font-size: 16px;
            font-weight: bold;
            color: #333;
            margin: 0;
        }

        .ticket-meta {
            font-size: 14px;
            color: #777;
            margin-top: 5px;
        }

        .ticket-status {
            font-size: 12px;
            font-weight: bold;
            padding: 5px 12px;
            border-radius: 20px;
            text-transform: uppercase;
            white-space: nowrap;
        }
        
        .status-open {
            background-color: #e6e6ff; /* Light purple */
            color: #4d33ff;
        }
        
        .status-closed {
            background-color: #FFE3E0;
            color: red;
        }
        
        .status-pending {
            background-color: #fff3e0; /* Light orange */
            color: #ff9800;
        }

        @media (max-width: 768px) {
            .ticket-item {
                flex-direction: column;
                align-items: flex-start;
            }
            .ticket-info {
                margin-bottom: 10px;
            }
            .ticket-status {
                align-self: flex-end;
            }
        }
        
        
        
        /* CREATE NEW TICKET.     CREATE NEW TICKET.  CREATE NEW TICKET*/
        
        
        .create-ticket-container {
            max-width: 700px;
            margin: 2rem auto;
            background-color: #fff;
            padding: 25px;
            border-radius: 12px;
            border: solid 1px #4d33ff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .create-ticket-header {
            margin-bottom: 25px;
            border-bottom: 1px solid #e0e0e0;
            padding-bottom: 20px;
        }

        .create-ticket-header h1 {
            font-size: 24px;
            font-weight: bold;
            color: #4b33ff;
            margin: 0;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            font-weight: bold;
            color: #555;
            margin-bottom: 8px;
        }

        .form-group input[type="text"],
        .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 16px;
            box-sizing: border-box;
            transition: border-color 0.2s ease;
        }
        
        .form-group input[type="text"]:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #4d33ff;
        }
        
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }

        .image-upload-wrapper {
            position: relative;
            width: 100%;
            padding: 20px;
            border: 2px dashed #ccc;
            border-radius: 8px;
            text-align: center;
            color: #777;
            cursor: pointer;
            transition: border-color 0.2s ease;
            /* Ensuring it doesn't span out of container */
            box-sizing: border-box;
        }

        .image-upload-wrapper:hover {
            border-color: #4d33ff;
        }

        .image-upload-wrapper input[type="file"] {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }

        .action-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
            margin-top: 30px;
            border-top: 1px solid #e0e0e0;
            padding-top: 20px;
        }

        .action-buttons button {
            padding: 12px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s ease;
        }
        
        .btn-submit {
            background-color: #4d33ff;
            color: #fff;
        }
        
        .btn-submit:hover {
            background-color: #3a25cc;
        }

        .btn-cancel {
            background-color: red;
            color: #555;
        }
        
        .btn-cancel:hover {
            background-color: #ccc;
        }

        @media (max-width: 768px) {
            .action-buttons {
                flex-direction: column;
            }
            .action-buttons button {
                width: 100%;
            }
        }
        
        
        /* OPEN TICKET.      OPEN TICKET.      OPEN TICKET*/
        
        .view-ticket-container {
            max-width: 900px;
            margin: 0 auto;
            background-color: #fff;
            padding: 25px;
            border-radius: 12px;
            border: 1px solid #4b33ff;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .ticket-details-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 25px;
            border-bottom: 1px solid #e0e0e0;
            padding-bottom: 20px;
        }

        .ticket-details-header h1 {
            font-size: 24px;
            font-weight: bold;
            color: #4b33ff;
            margin: 0;
        }

        .ticket-details-meta {
            font-size: 14px;
            color: #777;
            margin-top: 5px;
        }

        .ticket-status {
            font-size: 12px;
            font-weight: bold;
            padding: 5px 12px;
            border-radius: 20px;
            text-transform: uppercase;
            white-space: nowrap;
        }
        
        .sub-status-open {
            background-color: #e6e6ff; /* Light purple */
            color: #4d33ff;
        }
        
        .sub-status-closed {
            background-color: #FFE3E0;
            color: red;
        }

        .conversation-log {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 30px;
            padding: 10px;
            background-color: #f8f8f8;
            border-radius: 8px;
        }
        
        .message {
            padding: 15px;
            border-radius: 10px;
            max-width: 85%;
            position: relative;
        }
        
        .message-user {
            background-color: #4d33ff;
            color: #fff;
            align-self: flex-end;
        }
        
        .message-agent {
            background-color: #e0e0e0;
            color: #333;
            align-self: flex-start;
        }
        
        .message-header {
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .message-user .message-header {
            color: rgba(255, 255, 255, 0.8);
        }
        
        .message-agent .message-header {
            color: #555;
        }
        
        .message-body {
            font-size: 16px;
            line-height: 1.5;
        }
        
        .message-timestamp {
            font-size: 12px;
            margin-top: 10px;
            color: rgba(0, 0, 0, 0.4);
            text-align: right;
        }
        
        .message-user .message-timestamp {
            color: rgba(255, 255, 255, 0.6);
        }

        .reply-section {
            display: flex;
            flex-direction: column;
        }

        .reply-section textarea {
            width: 100%;
            min-height: 100px;
            padding: 12px;
            border: 1px solid #ccc;
            border-radius: 8px;
            font-size: 16px;
            box-sizing: border-box;
            resize: vertical;
            margin-bottom: 15px;
            transition: border-color 0.2s ease;
        }
        
        .reply-section textarea:focus {
            outline: none;
            border-color: #4d33ff;
        }

        .action-buttons {
            display: flex;
            justify-content: flex-end;
            gap: 15px;
        }
        
        .action-buttons button {
            padding: 12px 20px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: background-color 0.3s ease;
            color: #fff;
        }
        
        .btn-reply {
            background-color: #4d33ff;
        }
        
        .btn-reply:hover {
            background-color: #3a25cc;
        }

        .btn-close {
            background-color: #f44336;
        }
        
        .btn-close:hover {
            background-color: #d32f2f;
        }

        @media (max-width: 768px) {
            .ticket-details-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .ticket-details-header h1 {
                margin-bottom: 5px;
            }
            .action-buttons {
                flex-direction: column;
            }
            .action-buttons button {
                width: 100%;
            }
        }
        
        
        
        
        /*SUBMISSION CONTAINER.    SUBMISSION CONTAINER.   */
        
        
        /* USER PROFILE.    USER PROFILE.   USER PROFILE*/
        
        .profile-container {
            max-width: 900px;
            margin: 0 auto;
            background-color: #fff;
            padding: 25px;
            border: solid 1px #4b33ff;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .profile-header {
            display: flex;
            align-items: center;
            margin-bottom: 30px;
            border-bottom: 1px solid #e0e0e0;
            padding-bottom: 20px;
        }

        .profile-pic {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 20px;
            border: 2px solid #4d33ff;
        }

        .profile-info h1 {
            /* Adjusted font size to be smaller */
            font-size: 24px; 
            font-weight: bold;
            color: #4b33ff;
            margin: 0;
        }
        
        .profile-info p {
            font-size: 14px;
            color: #555;
            margin: 5px 0;
        }
        
        .earn-stats-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }

        .earn-stats-card {
            background-color: #f8f8f8;
            padding: 20px;
            border-radius: 12px;
            text-align: center;
            box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
        }

        .earn-stats-card h2 {
            font-size: 16px;
            color: #777;
            text-transform: uppercase;
            margin: 0 0 10px;
        }

        .earn-stats-card .stat-value {
            font-size: 32px;
            font-weight: bold;
            color: #4d33ff;
            margin: 0;
        }
        
        .recent-completions {
            margin-bottom: 30px;
        }

        .recent-completions h2 {
            font-size: 20px;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
        }

        .completion-list {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }

        .completion-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #f8f8f8;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 10px;
            border-left: 4px solid #28a745;
        }

        .completion-item:last-child {
            margin-bottom: 0;
        }

        .completion-details {
            display: flex;
            flex-direction: column;
        }

        .completion-details .task-name {
            font-weight: bold;
            color: #333;
        }
        
        .completion-details .task-date {
            font-size: 14px;
            color: #777;
        }

        .completion-item .task-payout {
            font-weight: bold;
            color: #28a745;
        }

        @media (max-width: 768px) {
            .earn-stats-grid {
                grid-template-columns: 1fr;
            }
            .profile-header {
                flex-direction: column;
                text-align: center;
            }
            .profile-pic {
                margin: 0 0 15px 0;
            }
        }
        
   

      