@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background: linear-gradient(90deg, #4e54c8, #8f94fb);
  color: white;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-logo {
  height: 50px;
  width: 50px;
  position: relative;
  top: 18px;
}

.main-logo:hover {
  cursor: pointer;
}

.logo h4 {
  font-size: 24px;
  font-weight: bold;
  position: relative;
  left: 60px;
  top: -30px;
}

@media (max-width:768px) {
  .logo h4 {
    display: none;
  }

  .main-logo {
    position: relative;
    top: 2px;
  }
}

.menu-icon {
  font-size: 1.5rem;
  display: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
}

@media (max-width: 768px) {
  .navbar .user-icon.mobile-view {
    display: flex; 
}

  .add-account-pc{
     display: none;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: -100%;
  height: 100%;
  width: 250px;
  background: linear-gradient(135deg, #4e54c8, #8f94fb);
  padding-top: 2rem;
  transition: left 0.3s ease;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
}

.nav-links.active {
  left: 0;
}

.nav-links li {
  margin: 1rem 0;
  text-align: center;
}

.nav-links li a {
  color: white;
  font-size: 1rem;
  text-decoration: none;
}

.nav-links .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 30px;
  cursor: pointer;
  color: white;
  transition: 0.3s;
}

.nav-links .close-btn:hover {
  transform: rotate(90deg);
}

#imtag {
  font-size: 20px;
  color: #ffffff;
}

#imtag:hover {
  cursor: pointer;
  color: #ff9800;
  transition: 0.3s;
}

.search-bar {
  display: none;
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 500px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 8px;
  z-index: 1000;
}

.search-bar input {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.add-account-pc {
  position: relative;
  left: -110px;
}

.ac {
  height: 50px;
  position: fixed;
  right: 50px;
  top: 10px;
  width: 200px;
}

.ac-content {
  position: relative;
  right: 30px;
  display: flex;
  gap: 3px;
  justify-content: center;
  align-items: center;
}

.acpic img {
  height: 26px;
  width: 26px;
  position: relative;
  top: 10px;
  margin-left: 15px;
  pointer-events: none;
}

.ac-content .ac-title-ac {
  font-size: 16px;
  left: 62px;
  top: -20px;
  position: relative;
}

.ac-log,
.ac-reg,
.ac-messge {
  font-size: 13px;
  color: #878282;
}

.ac-log:hover,
.ac-reg:hover {
  color: #FF5C00;
  text-decoration: underline;
  cursor: pointer;
  transition: 0.3s;
}
.pcb-spc {
  position: fixed;
  right: 270px;
}

.button-pcb {
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  border: none;
  border-radius: 2px;
  background-color: #007BFF;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.4);
  cursor: pointer;
  animation: pcb-clr 20s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes pcb-clr {
  0% { background-color: #6492f5; }
  100%{ background-color: #68b1ff; }
}

.button-pcb:hover {
  color: white;
}

.button-pcb::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2061BE;
  z-index: -1;
  transition: top 0.4s ease;
}

.button-pcb:hover::before {
  top: 0;
}

.dropdown {
  position: fixed;
  top: 20px;
  right: 420px;
  z-index: 9999;
}

.droptext {
  background: transparent;
  color: #fff;
  font-size: 16px;
  padding: 10px 15px;
  cursor: pointer;
}

.dropbox {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  min-width: 180px;
  max-height: 250px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 4px;
  z-index: 10000;
}

.dropdown:hover .dropbox {
  display: block;
}

.dropbox a {
  display: block;
  padding: 8px 20px;
  color: #333;
  text-decoration: none;
}

.dropbox a:hover {
  background-color: #f0f0f0;
}

.more-component {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  background: #aaaaaa;
}

.search-bar {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 500px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 8px;
  z-index: 1000;
}

.search-bar input {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.search-results {
  margin-top: 1rem;
  max-height: 300px;
  overflow-y: auto;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
}

.result-item:hover {
  background: #f4f4f4;
}

.result-item img {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.ac{
  height: 50px;
  position: fixed;
  right: 50px;
  top: 10px;
  width: 200px;
}

.ac-content{
  position: relative;
  top: 0px;
  right: 30px;
  gap: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ac .acpic img{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 13px;
  margin-left: 15px;
  height: 26px;
  width: 26px;
  pointer-events: none;
}

.ac .ac-content .ac-title{
  text-align: center;
  position: relative;
  cursor: default;
  font-size: 14px;
  left: 75px;
  top: -20px;
}

.ac-reg,
.ac-messge,
.ac-log{
  font-size: 13px;
}

.ac-log{
  color: white;
}

.ac-messge{
  color: #bdbbbb;
}

.ac-reg{
  color: white;
}

.ac-reg:hover,
.ac-log:hover{
  cursor: pointer;
  color: #FF5C00;
  transition: 0.3s;
  text-decoration: underline;
}

.result-item p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.forms{
  margin-top: 50px;
}

::-webkit-scrollbar {
  width: 8px;
  scroll-behavior: smooth;
}

::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.ImNotify{
  background: transparent;
  text-align: center;
  margin-top: 15px;
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid #C0C0C0;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.6),
              inset 0 -5px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: none;
  opacity: 0;
  animation: fadeOut 7s forwards;
}

.ImNotify p{
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}