@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700&display=swap");

:root {
  --background-color: #f9fafb;
  --text-color: #1f2937;
  --text-muted: #4b5563;

  --error: #dc2626;
  --success: #10b981;
  --warning: #f59e0b;
  --border-color: #e5e7eb;
  --sign-out: rgba(255, 0, 0, 0.726);

  --box-color: #ffffff;
  --formJobColor: 220, 220, 220;
  --box-shadow: rgba(0, 0, 0, 0.08);
  --scrollBar: rgba(0, 0, 0, 0.1);
  --box-shadow-small: rgba(0, 0, 0, 0.04);
  --nav-bar-scroll: rgba(255, 255, 255, 0.95);

  --primary-color: #009aabff;
  --primary-color-rgb: 0, 154, 171;
  --secondary-color: #005070ff;

  --brightness: 1;
  --table-even-row: #e6e6e6ff;
  --table-hover-row: #c8d5d9ff;
  --main-font-family: "Rubik", sans-serif;

  --background-image: url("../imgs/svg/hero.svg");
}

.darkmode {
  --background-color: #121212;
  --text-color: #f3f4f6;
  --text-muted: #9ca3af;
  
  --error: #ef4444;
  --success: #34d399;
  --warning: #fcd34d;
  --border-color: #334155;
  --sign-out: rgba(255, 0, 0, 0.63);
  
  --box-color: #1e1e1e;
  --formJobColor: 30, 41, 59;
  --box-shadow: none;
  --box-shadow-small: none;
  --nav-bar-scroll: rgba(5, 13, 17, 0.95);
  
  --primary-color: #3282b8;
  --primary-color-rgb: 50, 130, 184;
  
  --brightness: 1;
  --table-even-row: #1a1a1aff;
  --table-hover-row: #233b45ff;
  --secondary-color: #0f4c75;

  --background-image: url("../imgs/svg/dark-hero.svg");
}

* {
  scroll-behavior: smooth;
}

* {
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: var(--main-font-family);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

.iconForNav {
  width: 20px;
  margin-bottom: 2px;
  fill: none;
  stroke: var(--text-color);
  stroke-width: 1px;
}

.currentPage .iconForNav {
  fill: var(--text-color);
  stroke-width: 0px;
}

.account {
  display: flex;
  gap: 24px;
}

.account > a {
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}

.join {
  background-color: transparent;
  color: var(--text-color);
  margin: auto 0;
  transition: all 0.2s ease-in-out;
  padding: 6px 20px;
  border-radius: 20px;
  border: 1px solid var(--primary-color);
  margin-left: -30px;
}

.join:hover {
  transform: translateY(-3px);
}

.sign {
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  margin: auto 0;
}

.sign:link,
.sign:visited {
  background-color: var(--primary-color);
  color: var(--background-color) !important;
  text-align: center;
  border-radius: 20px;
  transition: all 0.2s ease-in-out;
  padding: 6px 20px;
  border: 1px solid var(--primary-color);
}

.sign:hover {
  background-color: var(--box-color);
  color: var(--primary-color) !important;
  transform: translateY(-3px);
}
.bi-person-fill {
  color: var(--text-color);
  text-decoration: none;
  display: flex;
  scale: 1.5;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.profileIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px !important;
}

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

.profileDivC svg {
  width: 15px;
  height: 15px;
}
.bi-person-fill:hover {
  opacity: 1;
  background-color: var(--border-color) !important;
}

#profile {
  margin-top: 5px;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
}
a select {
  border: none;
  color: var(--text-color);
  background-color: var(--background-color);
  max-width: 20px;
}
.material-symbols-outlined:hover {
  opacity: 1;
}

.mid-nav a.currentPage {
  opacity: 1;
}

a.currentPage span.material-symbols-outlined {
  opacity: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.logoContainer {
  display: flex;
  align-items: center;
  font-weight: 600;
  flex-shrink: 0;
  min-width: 0;
}

.logoContainer h1 {
  font-size: 24px;
  margin: 0;
  color: var(--text-color);
  padding: 0;
}

.logoContainer img {
  height: 30px;
  margin-right: 15px;
  width: auto;
  flex-shrink: 0;
}

.logoContainer {
  z-index: 100;
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.3s ease;
  background: transparent;
  width: 100%;
  background: var(--background-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-sizing: border-box;
  max-width: 100vw;
  overflow: visible;
  min-height: 64px;
}

.nav-bar.scrolled {
  background: var(--nav-bar-scroll);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 8px 20px;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.mid-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mid-nav a {
  opacity: 0.7;
  color: var(--text-color);
  text-decoration: none;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border-radius: 8px;
  padding: 10px 14px;
  transition: all 0.2s ease;
  min-width: 55px;
}

.mid-nav a:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
  opacity: 1;
}

.iconForNav {
  width: 20px;
  margin-bottom: 2px;
}

.themeToggle {
  background: none;
  border: none;
  color: var(--text-color);
  background: none !important;
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0) !important;
  font-size: 20px;
  transition: color 0.2s ease-in-out, transform 0.4s ease;
  padding: 8px;
  width: auto;
  height: auto;
  min-width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.themeToggle:hover {
  transform: scale(1.1);
  color: var(--primary-color);
  cursor: pointer;
}

.themeToggle:active {
  transform: scale(0.9);
}

.mobile-top-nav {
  display: none;
}

.profile-dropdown-container {
  position: relative;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-btn {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  width: auto;
  min-width: 280px;
  background-color: var(--box-color);
  box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border-radius: 8px;
  padding-top: 5px;
  border: 1px solid var(--border-color);
  margin-top: 0px;
}

.profile-nav-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  filter: brightness(var(--brightness));
}

.profileCurrentPage {
  filter: brightness(1);
}

.dropdown-content .view-profile-btn {
  display: block;
  box-sizing: border-box;
  opacity: 1 !important;
  width: calc(100% - 24px);
  margin: 12px 12px;
  padding: 8px 16px;
  background-color: transparent;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  border-radius: 20px;
  border: 1px solid var(--primary-color);
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
}

.dropdown-content .view-profile-btn:hover {
  background-color: var(--primary-color);
  color: var(--background-color) !important;
}

.dropdown-section {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  text-align: left;
}

.dropdown-section-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 16px 8px 16px;
  padding: 0;
}

.dropdown-link {
  display: block;
  padding: 8px 16px;
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.dropdown-link:hover {
  background-color: var(--border-color);
  color: var(--text-color);
}

.company-reg-link {
  font-weight: 500;
}

#blurred-background {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(var(--formJobColor), 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
}

#companyreg {
  all: revert;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 24px;
  z-index: 2001;
  margin-top: 10px;
  align-items: center;
  max-width: 600px;
  min-height: max-content;
  background-color: var(--box-color);
  border-radius: 20px;
  box-shadow: 0px 30px 50px var(--box-shadow);
  transition: all 0.2s ease-in-out;
}
#open-btn {
  display: block;
  opacity: 1;
  background-color: transparent;
  color: var(--text-color);
  font-size: 14px;
  width: 300px;
  border: none;
  text-decoration: none;
  text-align: center;
  transition: all 0.2s ease;
  transform: none !important;
}
#open-btn:hover {
  transform: none !important;
  border-radius: 5px;
  background-color: var(--border-color);
  color: var(--text-color);
}
#close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  border: none;
  font-size: 20px;
  background-color: var(--box-color);
  color: var(--text-color);
  transition: all 0.2s ease-in-out;
}
#close-btn:hover {
  background-color: var(--box-color);
  color: var(--primary-color);
  transform: none;
}
form {
  display: flex;
  position: relative;
  flex-direction: column;
  border-radius: 12px;
  width: 100%;

  gap: 20px;
}

.address {
  border-radius: 10px;
}
.grid {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.inp {
  position: relative;
  align-items: center;
  width: 100%;
  margin: 0px;
  background-color: var(--box-color);
  border-radius: 5px;
}

.holder {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  border: none !important;
  border-radius: 12px;
  height: 3rem;
  padding: 10px 16px;
  font-size: 0.95rem;
  background: var(--background-color);
  color: var(--text-color);
  transition: border-color 0.3s ease, border 0.3s ease;
  border: 1px solid !important;
  border-color: var(--box-color) !important;
}

.holder:focus {
  outline: none;
  border: 1px solid !important;
  border-color: var(--primary-color) !important;
}

.submit {
  background-color: var(--primary-color);
}

.submit {
  background-color: var(--primary-color) !important;
  color: var(--background-color);
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  width: 100%;
  height: 3rem;
  box-sizing: border-box;
}
.submit:hover {
  background-color: var(--background-color) !important;
  color: var(--primary-color);
  transform: translateY(-2px);
}
.submit:active {
  transform: translateY(0);
}

#email-div {
  position: relative;
}

.email-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
}

.profile-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  cursor: pointer;
}

.profile-dropdown-container:hover .dropdown-content {
  display: block;
}
.profileDataDiv {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 12px 16px;
}
.profile-dropdown-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.profileInfo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.profileName {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-color);
  line-height: 1.3;
}
.profileEducation {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Footer */

footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-gap: 20px;
  padding: 40px;

  background-color: black;
  color: #fff;
  margin-top: 150px;
  position: relative;
  bottom: 0;
}

.JobConnect,
.Company,
.JobCategories,
.MoreInfo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.Copyright {
  margin-top: 20px;
  font-size: 14px;
  color: #888;
}

.footer-list {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  padding: 0;
  gap: 10px;
}
.footer-list-item {
  text-decoration: none;
  color: #cac9c9;
  border-bottom: 1px solid transparent;
}
.footer-list-item:hover {
  color: #fff;
  border-bottom: 1px solid #fff;
}

.MoreInfo button {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 10px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.MoreInfo button:hover {
  filter: brightness(1.2);
  background-color: var(--secondary-color);
}

.MoreInfo div {
  margin-top: auto;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.MoreInfo div a {
  white-space: nowrap;
  color: #cbc6c6;
  border-bottom: 1px solid #cbc6c6;
}

.admin-panel-link {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--box-color);
  padding: 10px;
  border: 5px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 1001;
}

.admin-panel-link:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.admin-panel-link svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-color);
}

#loadingScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}
.loadingLogo {
  width: 100px;
  height: auto;
}
.loadingTitle {
  font-size: 24px;
  color: var(--text-color);
  margin-bottom: 20px;
}
.spinner {
  border: 1px solid var(--border-color);
  width: 200px;
  height: 5px;
  border-radius: 5px;
  overflow: hidden;
}

.mainSpinner {
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  animation: loadingAnimation 1.5s infinite;
}

.settings-dropdown {
  position: relative;
}

.settings-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  background: var(--box-color);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: var(--text-color);
}

.settings-toggle:hover {
  background: var(--background-color);
  border-color: var(--primary-color);
}

.settings-toggle.active {
  border-color: var(--primary-color);
  background: rgba(var(--primary-color-rgb), 0.1);
}

.arrow {
  transition: transform 0.3s ease;
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.3;
}

.settings-toggle.active .arrow {
  transform: rotate(180deg);
  color:black;
  opacity: 0.6;
}

.settings-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.settings-menu.active {
  max-height: 200px;
}

.settings-btn {
  display: block;
  width: 100%;
  padding: 10px 12px;
  background: var(--box-color);
  border: none;
  border-radius: 6px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 8px;
}

.settings-btn:last-child {
  margin-bottom: 0;
}

.settings-btn:hover {
  background: var(--background-color);
  color: var(--primary-color);
}

.signout-btn {
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
  padding: 10px 16px !important;
  font-size: 14px;
  width: calc(100% - 32px);
  cursor: pointer;
}

.signout-btn:hover {
  background-color: var(--sign-out) !important;
  color: white;
}

.popup-change {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  background-color: var(--box-color);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0px 30px 50px var(--box-shadow);
  z-index: 3001;
  width: clamp(300px, 90%, 400px);
  height: max-content;
}
.popup-content h2 {
  margin: 0;
  padding: 0;
  align-self: center;
  font-size: 26px;
  color: var(--text-color);
}
.popup-change .popup-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.popup-content input {
  width: 90%;
  align-self: center;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 16px;
  color: var(--text-color);
  background-color: var(--background-color);
}
.popup-content button {
  width: 50%;
  align-self: center;
  padding: 10px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  color: var(--background-color);
  background-color: var(--primary-color);
  cursor: pointer;
  transition: all 0.2s ease;
}
.popup-change button:hover {
  background-color: var(--background-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.popup-content span {
  border-radius: 12px;
  cursor: pointer;
  font-size: 24px;
  position: absolute;
  top: 10px;
  right: 15px;
  padding: 2px 8px;
  transition: all 0.2s ease;
  color: var(--text-muted);
}
.popup-content span:hover {
  color: var(--text-color);
  transform: scale(1.2);
  background-color: var(--border-color);
}
.popup-content .errorPopup {
  color: var(--error);
  font-size: 14px;
  text-align: center;
  margin-top: -10px;
}

.popup-content .popup-info {
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  margin: -5px 0;
  line-height: 1.4;
  padding: 0 10px;
}

.popup-content button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.popup-content button:disabled:hover {
  background-color: var(--primary-color);
  color: var(--background-color);
  transform: none;
}

body.popup-open #blurred-background {
  display: block;
}

body.open-company-popup #blurred-background {
  display: block;
}

.notifications-Nav{
  position: relative;
}
.notifications_unseen {
  position: absolute;
  top: 10px;
  right: 35px;
  display: none;
  justify-content: center;
  align-items: center;
  width: 18px;
  height: 18px;
  background-color: #dc2626;
  color: #ffffff;
  border-radius: 50%;
  z-index: 3000;
  border: 2px solid var(--box-color);
}



@keyframes loadingAnimation {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
@media (max-width: 1200px) {
  .account {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .account a {
    margin: 0;
    font-size: 16px;
  }

  h1 {
    position: relative;
    text-align: center;
  }
  footer {
    padding-bottom: 100px;
  }
}

@media (min-width: 1025px) {
  .nav-bar {
    height: 80px;
    padding: 0 30px;
  }

  .mid-nav,
  .account {
    display: flex;
  }

  .logoContainer {
    display: flex;
    padding-left: 0;
    flex-shrink: 0;
  }

  .logoContainer h1 {
    font-size: 22px;
  }

  .logoContainer img {
    height: 30px;
    margin-right: 10px;
  }

  .mid-nav {
    gap: 22px;
  }

  .mid-nav a {
    font-size: 14px;
    padding: 10px 16px;
    min-width: 58px;
  }

  .account {
    gap: 18px;
    flex-shrink: 0;
  }

  .themeToggle {
    font-size: 18px;
    margin-left: 8px;
  }

  .mobile-top-nav {
    display: none;
  }
  h1 {
    position: relative;
    text-align: center;
  }
}

@media (min-width: 1440px) {
  .nav-bar {
    padding: 0 50px;
  }

  .logoContainer {
    padding-left: 20px;
  }

  .logoContainer h1 {
    font-size: 24px;
  }

  .logoContainer img {
    height: 32px;
    margin-right: 12px;
  }

  .mid-nav {
    gap: 26px;
  }

  .mid-nav a {
    font-size: 15px;
    padding: 12px 18px;
    min-width: 62px;
  }

  .themeToggle {
    font-size: 20px;
  }
}

@media (max-width: 1160px) and (min-width: 481px) {
  .admin-panel-link{
    bottom: 80px;
    z-index: 2001;
  }
  .nav-bar {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    width: 100%;
    background: var(--background-color);
    border-top: 1px solid var(--border-color);
    border-bottom: none;
    justify-content: center;
    padding: 8px 0 !important;
    transform: translateY(1px) !important;
    height: auto;
  }

  .logoContainer,
  .account {
    display: none !important;
  }

  .mid-nav {
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .mid-nav a {
    flex-direction: column;
    font-size: 12px;
    gap: 4px;
    padding: 6px 8px;
    opacity: 0.7;
    min-width: 60px;
    text-align: center;
  }

  .mid-nav a.currentPage {
    opacity: 1;
  }

  .mid-nav a:hover {
    background-color: var(--border-color);
    color: var(--text-color);
    transform: translateY(-2px);
    opacity: 1;
  }

  .iconForNav {
    width: 24px;
    height: 24px;
  }

  .mobile-top-nav {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    height: 50px;
    box-sizing: border-box;
  }

  .mobile-top-nav .logoContainer {
    display: flex !important;
    padding-left: 0;
  }

  .mobile-top-nav .logoContainer h1 {
    font-size: 20px;
  }

  .mobile-top-nav .logoContainer img {
    height: 26px;
    margin-right: 10px;
  }

  .mobile-top-nav .themeToggle {
    display: block !important;
    font-size: 18px;
    margin-right: 0;
  }

  .mobile-accounts {
    display: flex;
    gap: 12px;
  }
  .mobile-accounts a {
    padding: 4px 10px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 16px;
  }

  .mobile-top-nav .themeToggle {
    font-size: 20px;
    margin-left: 10px;
    margin-top: 5px;
  }

  .mobile-accounts a.join,
  .mobile-accounts a.sign {
    padding: 6px 12px;
    font-size: 12px;
  }

  .dropdown-content {
    position: fixed;
    bottom: 70px;
    right: 10px;
    z-index: 3000;
    left: auto;
    top: auto;
    min-width: 260px;
    max-width: calc(100vw - 20px);
    padding: 0;
    margin-top: 0;
  }

  .profile-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px !important;
    padding: 8px 16px;
  }

  .profile-dropdown-container:focus-within .dropdown-content {
    display: block;
  }

  .profile-nav-img {
    width: 22px;
    height: 22px;
  }

  #companyreg {
    width: 100%;
    max-width: 450px;
    margin-top: 35px;
  }

  .notifications_unseen{
    top: 2px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .notifications_unseen{
    top: 2px;
    right: 10px;
  }
  .nav-bar {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    width: 100%;
    background: var(--background-color);
    border-top: 1px solid var(--border-color);
    border-bottom: none;
    justify-content: center;
    padding: 6px 0 !important;
    transform: translateY(1px) !important;
    height: auto;
  }

  .logoContainer,
  .account {
    display: none !important;
  }

  .mid-nav {
    display: flex !important;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .mid-nav a {
    flex-direction: column;
    font-size: 11px;
    gap: 3px;
    padding: 4px 0;
    opacity: 0.7;
    min-width: 50px;
    text-align: center;
  }

  .mid-nav a.currentPage {
    opacity: 1;
  }

  .mid-nav a:hover {
    background-color: var(--border-color);
    color: var(--text-color);
    transform: translateY(-2px);
    opacity: 1;
  }

  .iconForNav {
    width: 22px;
    height: 22px;
  }

  .mobile-top-nav {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 15px;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    height: 50px;
    box-sizing: border-box;
  }

  .mobile-top-nav .logoContainer {
    display: flex !important;
    padding-left: 0;
  }

  .mobile-top-nav .logoContainer h1 {
    font-size: 18px;
  }

  .mobile-top-nav .logoContainer img {
    height: 22px;
    margin-right: 8px;
  }

  .mobile-top-nav .themeToggle {
    display: block !important;
    font-size: 16px;
    margin-right: 0;
  }

  .mobile-accounts {
    display: flex;
    gap: 12px;
  }
  .mobile-accounts a {
    padding: 6px 10px;
    font-size: 14px;
    text-decoration: none;
    border-radius: 16px;
  }

  .mobile-accounts a.join {
    padding: 6px 10px;
    font-size: 12px;
  }

  .mobile-accounts a.sign {
    padding: 6px 10px;
    font-size: 12px;
  }

  .mobile-top-nav .themeToggle {
    font-size: 16px;
    margin-left: 5px;
    margin-top: 5px;
  }
  .dropdown-content {
    position: fixed;
    bottom: 70px;
    right: 10px;
    left: auto;
    top: auto;
    min-width: 260px;
    max-width: calc(100vw - 20px);
    padding: 0;
    margin-top: 0;
  }

  .profile-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px !important;
    padding: 8px 16px;
  }

  .profile-dropdown-container:focus-within .dropdown-content {
    display: block;
  }

  .profile-nav-img {
    width: 22px;
    height: 22px;
  }
  #companyreg {
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    transform: none;
    box-sizing: border-box;
    padding-top: 0px;
    margin-top: 0px;
  }
  #companyreg #title {
    margin-top: 60px;
  }
  #companyreg form {
    margin-top: 60px;
  }

  footer {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    padding-bottom: 80px;
  }
}
