body {
  margin: 0;
}

.dash-page {
  background-image: url("/static/image/dash-bg.png") !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.custom-menu {
  background-color: rgba(1, 30, 60) !important;
  padding: 0 1.5rem;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  border: none !important;
  border-radius: unset !important;
  -webkit-border-radius: unset !important;
  -moz-border-radius: unset !important;
  -ms-border-radius: unset !important;
  -o-border-radius: unset !important;
}

.other-page.asset-body .custom-menu,
.contact-body .custom-menu {
  background-color: rgba(1, 30, 60) !important;
  padding: 0 1.5rem;
}

.terms-body .custom-menu {
  background-color: rgba(1, 30, 60) !important;
  padding: 0 1.5rem;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  border: none !important;
  border-radius: unset;
  -webkit-border-radius: unset;
  -moz-border-radius: unset;
  -ms-border-radius: unset;
  -o-border-radius: unset;
}

.custom-menu .item {
  color: white !important;
  font-weight: 500;
}

.custom-menu .item.logo img {
  width: 100%;
  height: 100%;
}

.custom-menu a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.custom-menu a.active {
  color: #ffc700 !important;
  position: relative;
}

.custom-menu a.active::after {
  content: "";
  position: absolute;
  width: 52%;
  height: 1px;
  background-color: #ffc700;
  left: 45px;
  bottom: 10px;
  margin: auto !important;
  text-align: center;
}

.divider {
  align-self: center;
  border-left: 1px solid #ffc700;
  height: 32px;
  margin: 0 1rem;
}

.login-button {
  background-color: #ff9b0080 !important;
  color: white;
  padding: 6px 14px;
  border: 1px solid #ffc700 !important;
}

.logo img {
  height: 30px;
}

.custom-menu .mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  width: 70%;
  height: 100vh;
  z-index: 9999;
  padding: 30px;
  overflow-y: auto;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-100%);
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
}

.custom-menu .mobile-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.custom-menu .mobile-menu a {
  display: block;
  margin-bottom: 10px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.custom-menu .mobile-menu a:hover {
  color: #000;
}

/* Mobile profile toggle styles */
.mobile-nav-item {
  display: none !important;
}

.desktop-nav {
  display: block;
}

.mobile-only {
  display: none;
}

/* Remove all mobile menu related styles */

/* Mobile responsive styles */
@media (max-width: 768px) {
  .desktop-profile {
    display: none !important;
  }

  .mobile-only {
    display: block !important;
  }

  .mobile-profile-toggle {
    display: flex !important;
  }
}

/* Marquee */
.marquee {
  width: 100%;
  overflow: hidden;
  /* white-space: nowrap; */
  box-sizing: border-box;
  background: #f4f4f4;
  padding: 10px;
  margin: 10px;
  font-size: 20px;
  text-align: center;
  margin-top: 85px;
}

.marquee span {
  display: inline-block;
  /* padding-left: 100%; */
  /* animation: scroll 30s linear infinite; */
  color: #ffc700;
}

/* @keyframes scroll {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes scroll {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(-100%);
  }
} */

.marquee:hover span {
  animation-play-state: paused;
}

/* Back button */

.back-button {
  position: absolute;
  top: 100px;
  right: 100px;
  background: #ffc700;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 20px 36px;
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.back-button-down {
  display: none;
}

/* Layout container - UPDATED */
.container.main {
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  width: min(100%, 90rem);
  margin: 20px auto 100px;
  padding: 3rem 1rem;
  gap: 2rem;
  /* align-items: center; */
}

.container.main .container-header {
  position: absolute;
  top: 20px;
  left: 80px;
  text-align: left;
  color: #fff;
  /* margin-left: 50px; */
}

/* Hide sidebar - UPDATED */
.dash-page .sidebar {
  display: none;
}

/* Remove all sidebar related styles */
.dropdown-container,
.dropdown-btn,
.dropdown-menu,
.sidebar-divider {
  display: none;
}

/* Main content - UPDATED */
.main-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: start;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  height: 160px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  width: 100%;
  max-width: 300px;
}

.profile-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  background-color: rgba(0, 0, 0, 0) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0) !important;
}

.card-header h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}

.icon-button {
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 4px 10px;
  background: none;
  cursor: pointer;
  color: #666;
}

.icon-button:hover {
  color: black;
}

.card-line {
  font-size: 12px;
  color: #666;
  display: flex;
  gap: 4px;
  align-items: center;
}

.other-card {
  background: white;
  border-radius: 12px;
  padding-left: 20px;
  height: 160px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  color: #000;
  width: 100%;
  max-width: 300px;
}

.icon-blue {
  color: #3b82f6;
  font-size: 20px;
}

.asset-container .ui.centered.grid:nth-of-type(3) {
  background-color: #f5f2f2;
}

.ui.menu .item {
  transition: color 0.2s ease !important;
}
.ui.menu .item:hover {
  color: #ffc700 !important;
}

/* Responsive Rules - UPDATED */
@media (max-width: 920px) {
  .main-content {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
  }

  .card,
  .other-card {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .container.main {
    padding: 2rem 1rem;
    margin: 10px auto 80px;
  }
  .container.main .container-header {
    position: absolute;
    top: 20px;
    left: 30px;
    text-align: left;
    color: #fff;
  }

  .logo img {
    width: 120px !important;
  }

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

  .back-button {
    display: none;
  }

  .back-button-down {
    display: block;
    color: #374151;
    background: white;
    border: none;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    padding: 20px 50px;
    margin-top: 20px;
    margin-bottom: 20px;
    cursor: pointer;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
  }

  a.back-button-link {
    color: #fff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

  .back-button-down a.back-button-link {
    color: #000 !important;
    text-decoration: none;
  }

  /* Hide desktop navigation */
  .desktop-nav {
    display: none !important;
  }

  .desktop-only {
    display: none !important;
  }

  /* Show mobile navigation items in profile dropdown */
  .mobile-nav-item {
    display: block !important;
  }
}

@media (max-width: 480px) {
  .custom-menu .toggle-btn {
    margin-right: 20px;
    margin-left: 20px;
  }

  .container.main {
    width: 100% !important;
    padding: 1.5rem 0.5rem;
  }

  .main-content {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
  }

  .profile-card {
    height: 150px !important;
    padding: 15px;
  }

  .card-line {
    font-size: 10px;
  }

  .other-card {
    font-size: 12px;
    height: 120px !important;
    padding: 15px;
  }

  .other-card img {
    width: 40px;
  }

  .asset-container .four.column.row.asset-row,
  .asset-container .four.column.row.asset-row-two {
    justify-content: flex-start !important;
  }
  .asset-container .ui.centered.grid {
    justify-content: flex-start;
    margin-left: 1px;
  }

  .asset-container .four.column.row.asset-row .column p {
    font-size: 12px !important;
  }
  .asset-container .asset-row-two {
    display: flex !important;
    gap: 50px;
    margin: 0px 80px 0px 10px !important;
    background-color: #f5f2f2;
  }
  .asset-container .four.column.row.asset-row-two .column p {
    font-size: 10px !important;
  }
  .asset-container .four.column.row.asset-row-two .column .ui.form {
    width: 160px !important;
    max-width: 160px !important;
  }
}

@media (max-width: 375px) {
  .profile-card {
    height: 130px !important;
    padding: 12px;
  }

  .other-card {
    height: 110px !important;
    padding: 12px;
    font-size: 11px;
  }

  .other-card img {
    width: 35px;
  }
}

/* Modal Styles */
.custom-modal {
  width: 400px !important;
  max-width: 90%;
  margin: auto;
  background-color: #d8f2fe !important;
}

.custom-modal > .content {
  background-color: #d8f2fe !important;
  border-radius: 12px;
}

.custom-modal .image img {
  width: 100px;
  margin-bottom: 1rem;
}

.custom-modal h3 {
  margin-top: 0;
  font-size: 1.5rem;
}

.pin-form-group {
  margin-bottom: 1rem;
}

.pin-form-group input {
  text-align: center;
}

.ui.dimmer.modals {
  z-index: 10000;
}

.ui.modal {
  background-color: #d8f2fe !important;
  border-radius: 10px;
  padding: 2rem;
}

.ui.modal > .content {
  background-color: #d8f2fe !important;
}

.ui.form .field > label {
  font-weight: 600;
}

.ui.button.done-btn {
  background-color: #042e4c;
  color: white;
}

.dash-page footer.site-footer {
  background-color: #010920;
  padding: 80px 100px;
  border-top: 1px solid #001b36;
}

/* user profile */
.profile-body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  /* padding: 20px; */

  position: relative;
  flex-direction: column;
  max-width: 1300px;
  width: min(100%, 90rem);
  margin: 50px auto 100px;
  padding: 3rem 1rem;
  gap: 2rem;
}

.profile-container {
  max-width: 1280px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.header-section {
  background: white;
  border-radius: 16px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b7355, #a0956b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  font-weight: bold;
  flex-shrink: 0;
}

.profile-info h1 {
  color: #0f172a;
  font-size: 24px;
  margin-bottom: 5px;
  font-weight: 700;
}

.profile-info p {
  color: #64748b;
  font-size: 16px;
  margin-bottom: 4px;
}

.edit-profile-btn {
  background: #4a5568;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  margin-top: 10px;
  transition: background 0.3s ease;
}

.edit-profile-btn:hover {
  background: #0f172a;
}

.content-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.company-info {
  padding: 30px;
  /* border-right: 1px solid #e2e8f0; */
  background: white;
  border-radius: 16px;
}

.company-info label {
  display: block;
  font-weight: bold;
  margin: 15px 0 5px;
  font-size: 1rem;
}

.company-info input {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.company-info input:focus {
  outline: none;
  border-color: #0078d7;
  box-shadow: 0 0 5px rgba(0, 120, 215, 0.3);
}

.additional-section {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.additional-title {
  color: #0f172a;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.additional-content {
  color: #4a5568;
  line-height: 1.6;
  font-size: 14px;
}

.additional-content .form-section {
  width: 100%;
  /* max-width: 800px; */
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

.additional-content .form-section label {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.additional-content .form-section textarea {
  width: 100%;
  height: 180px;
  padding: 15px;
  font-size: 1rem;
  line-height: 1.6;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  resize: none;
}

.additional-content .form-section textarea:focus {
  outline: none;
  border-color: #0078d7;
  box-shadow: 0 0 5px rgba(0, 120, 215, 0.3);
}

@media (max-width: 768px) {
  .header-section {
    flex-direction: column;
    text-align: center;
  }

  .content-section {
    grid-template-columns: 1fr;
  }
}
