/* 
    NOTE: Make sure anything you're adding or modifying, it should follow mobile first
    principles.

*/

body {
  font-family:
    "Satoshi",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
}

/* ==========================================================================
   NAVBAR and SIDEBAR STYLES
   Note: Make sure to keep the below css in sync with the main tools.
   ========================================================================== */
.main-container {
  padding-left: 100px;
  background: transparent;
  display: flex;
  flex-direction: row;
  height: calc(100vh - [header-height]);
  position: relative;
  align-items: start;
  justify-content: space-between;
}

.includes-sidebar {
  position: absolute;
  left: 0;
  width: 100px;
  height: 89vh;
  background: #f5f5f5;
}

/* ==========================================================================
   MINI TOOLS STYLES -> MOBILE FIRST APPROACH
   ========================================================================== */
.mini-tool-parent-container {
  background-color: var(--color-blue-500);
  margin-left: 0;
  /* No need to compensate sidebar width for mobile view*/
  margin-top: 50px;
  /* Margin top is given to compensate the navbar heigth in mobile view */
}

.main-content-wrapper {
  padding: 1.5rem;
}

/* .seperator {
    width: 100%;
    height: 30px;
    background-color: #F2F2F9;
}  */

/* ==========================================================================
   CUSTOM SCROLLBAR STYLE
   ========================================================================== */
/* Firefox Support */
* {
  scrollbar-width: thin;
  scrollbar-color: #d1d5db transparent;
}

/* Webkit Browsers (Chrome, Safari, Edge) */
*::-webkit-scrollbar {
  width: 6px;
  /* Width of vertical scrollbar */
  height: 6px;
  /* Height of horizontal scrollbar */
}

*::-webkit-scrollbar-track {
  background: transparent;
  /* Transparent track background */
}

*::-webkit-scrollbar-thumb {
  background-color: #d1d5db;
  /* Light gray thumb color */
  border-radius: 6px;
  /* Rounded corners */
}

*::-webkit-scrollbar-thumb:hover {
  background-color: #9ca3af;
  /* Darker gray on hover */
}

*::-webkit-scrollbar-corner {
  background: transparent;
  /* Transparent corner */
}

/* ==========================================================================
   HTML TAGS CUSTOM STYLES
   ========================================================================== */

input::placeholder,
textarea::placeholder {
  color: #9ca3af !important;
}

/* Hide the default checkbox */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 6px;
  background-color: white;
  margin-right: 5px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

/* Checked state */
input[type="checkbox"]:checked {
  background-color: #265baa;
  border-color: #265baa;
}

/* Checkmark icon */
input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

/* ==========================================================================
   RESPONSIVE DESIGN - BREAKPOINTS
   ========================================================================== */

.add-sample-btn {
  border: 1px solid #d1d5db;
  color: #6b7280;
  padding: 0.5rem 0.75rem;
  background-color: transparent;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.add-sample-btn:hover {
  background-color: #f9fafb;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06);
  border-color: #e5e7eb;
}

/* ==========================================================================
   RESPONSIVE DESIGN - BREAKPOINTS
   ========================================================================== */
@media (max-width: 991px) {
  .includes-sidebar {
    width: 0px;
  }

  .main-container {
    padding-left: 0;
    flex-direction: column;
  }
}

@media (min-width: 991px) {
  .mini-tool-parent-container {
    margin-left: 120px;
    /* Margin left is given to compensate the sidebar width in desktop view */
    margin-top: 0;
    /* No need to compensate navbar height for desktop view*/
  }
}
