/*
 *= require styles
 *= require vendor
 *= require components/tag_component
 *= require components/sidebar_user_component
 *= require components/header_user_component
 *= require components/sidebar_company_component
 *= require components/sidebar_admin_component
*/

/* Back to top button */
@import "tailwindcss";
.scrollToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  display: none;
  padding: 10px;
  background-color: theme("colors.primary.500");
  color: white;
  border-radius: theme("borderRadius.full");
  cursor: pointer;
  transition: all 0.3s ease;
}

.scrollToTop:hover {
  background-color: theme("colors.primary.600");
  transform: translateY(-2px);
}

/* Sidebar styles */
.app-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 240px;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  transition: all 0.3s;
  z-index: 1000;
}

/* Main content styles */
.main-content {
  /* margin-left: 240px; */
  padding: 20px;
  transition: all 0.3s;
}

/* Header styles */
.app-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 240px;
  height: 60px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s;
  z-index: 999;
}

/* Toggled state */
html.sidenav-toggled .app-sidebar {
  left: -240px;
}

html.sidenav-toggled .main-content {
  margin-left: 0;
}

html.sidenav-toggled .app-header {
  left: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .app-sidebar {
    left: -240px;
  }

  .main-content {
    margin-left: 0;
  }

  .app-header {
    left: 0;
  }

  html.sidenav-toggled .app-sidebar {
    left: 0;
  }
}

/* Layout wrapper */
.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

input:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

textarea:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.disablebg {
  cursor: not-allowed;
  opacity: 0.7;
}

/* Responsive styling for contract submit button */
.ti-btn-contract-submit-gradient {
  width: 100% !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ti-btn-contract-submit-gradient:hover {
  background-image: linear-gradient(to right, #0d8fcc, #2a9fd9) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(28, 172, 255, 0.3);
}

.active-mobile {
  border-radius: 4px !important;
  border: 1px solid #004AAD !important;
  color: #004AAD !important;
  width: 32px !important;
  height: 32px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
