/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

/* Enhanced pagination styling */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination-item {
  display: inline-flex;
}

.pagination-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
  background-color: transparent;
  border: 1px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
}

.pagination-link:hover {
  background-color: #f3f4f6;
  color: #111827;
  text-decoration: none;
}

.pagination-link.active {
  background-color: #2C71F4;
  color: white;
  border-color: #2C71F4;
}

.pagination-link.disabled {
  color: #d1d5db;
  pointer-events: none;
  cursor: default;
}

.pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  color: #6b7280;
  font-size: 14px;
}

.pagination-nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 6px;
  color: #4b5563;
  background-color: transparent;
  border: 1px solid #e5e7eb;
  transition: all 0.2s;
}

.pagination-nav-button:hover:not(:disabled) {
  background-color: #f3f4f6;
  color: #111827;
  border-color: #d1d5db;
}

.pagination-nav-button:disabled {
  color: #d1d5db;
  border-color: #e5e7eb;
  cursor: default;
}

.logo {
    width: 200px;
}


body {
    overflow-x: hidden;
    height: auto !important;
    min-height: 100%;
    position: relative;
}

.sidebar {
    display: inline-flex;
    min-height: 100vh;
    height: auto;
    padding: 16px;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
    border-right: 2px solid #EDEDEE;
    background: #F8F9FA;
}

.sidebar .position-sticky {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.sidebar .logo-parent {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.logo-pic {
    width: 33px;
    height: 33px;
    border-radius: 3px;
}

.logo-text {
    color: var(--Branded-Pallette-Black, #000);
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.64px;
}

.nav-title {
    color: var(--Shades-of-Grey-70-Grey, #B2BFCE);
    font-family: Roboto;
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.88px;
    text-transform: uppercase;
}

.sidebar .nav-link {
    display: flex;
    width: 218px;
    height: 48px;
    padding: 16px;
    align-items: center;
    gap: 8px;
    border-radius: 4px;

    color: var(--Shades-of-Grey-90-Grey, #56677B);
    leading-trim: both;
    text-edge: cap;

    /* Medium/H11: 12 */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    /* 116.667% */
    letter-spacing: 0.24px;
}

.sidebar .nav-link:hover {
    color: #2169F7;
    leading-trim: both;
    text-edge: cap;

    /* Medium/H11: 12 */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    /* 116.667% */
    letter-spacing: 0.24px;

    border-radius: 4px;
    background: var(--Shades-of-Grey-40-Grey, #F1F4F8);
}

.sidebar .nav-link:active {
    display: flex;
    width: 218px;
    height: 48px;
    padding: 16px;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
    background: var(--Shades-of-Grey-50-Grey, #E2E8F0);
    color: #2169F7;
    leading-trim: both;
    text-edge: cap;

    /* Extra Bold/H11 */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 14px;
    /* 116.667% */
    letter-spacing: 0.24px;
}

.page-title {
    padding: 24px 32px;
    background: var(--Shades-of-Grey-30-Grey, #F8F9FB);
    color: #000;
    leading-trim: both;
    text-edge: cap;

    display: flex;
    align-items: center;
}

.page-title .title {
    /* Extra Bold/H6 */
    font-family: Roboto;
    font-size: 22px;
    font-style: normal;
    font-weight: 800;
    line-height: 29px;
    /* 131.818% */
    letter-spacing: 0.44px;
}

.add-new-link svg {
    margin-right: 5px;
    /* Adjust the margin as needed */
}

.add-new-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    text-decoration: none !important;
    margin-top: 3px;
}

.add-new-link span {
    color: var(--System-Blue-80, #2169F7);
    leading-trim: both;
    text-edge: cap;

    /* Medium/H10: 14 */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px;
    /* 150% */
    letter-spacing: 1.12px;
}

.new-site-button {
    display: flex;
    width: 586px;
    height: 374px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
    background: var(--Shades-of-Grey-30-Grey, #F8F9FB);
}

.new-site-button p {
    color: #000;
    leading-trim: both;
    text-edge: cap;

    /* Medium/H4: 28 */
    font-family: Roboto;
    font-size: 28px;
    font-style: normal;
    font-weight: 500;
    line-height: 37px;
    /* 132.143% */
    letter-spacing: 0.56px;
}

.new-site-button a {
    display: flex;
    width: 60px;
    height: 60px;
    padding: 10px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-radius: 60px;
    background: var(--Shades-of-Grey-70-Grey, #B2BFCE);

    color: #000;
    leading-trim: both;
    text-edge: cap;

    /* Extra Bold/H3 */
    font-family: Roboto;
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: 42px;
    /* 131.25% */
    letter-spacing: 0.64px;
    text-decoration: none;
}

.row.sites, .row.venues {
    margin-top: 20px;
    margin-left: 20px;
}

.site-box, .venue-box {
    display: flex;
    width: 284px;
    height: 400px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid var(--Shades-of-Grey-50-Grey, #E2E8F0);

    position: relative;
    /* selected-ds */
    box-shadow: 0px 4px 4px 0px #EAEFF5;
}

.site-box .image, .venue-box .image {
    width: 284px;
    height: 150px;
    flex-shrink: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}

.site-box .text, .venue-box .text {
    width: 100%;
    padding: 10px 15px;
}

.site-box .site-name, .venue-box .venue-name {
    color: var(--Branded-Pallette-Black, #000);
    /* leading-trim: both;
text-edge: cap; */

    /* Extra Bold/H10 */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 21px;
    /* 150% */
    letter-spacing: 0.28px;
    text-align: left !important;
    margin-top: 10px;
    margin-bottom: 0px;
}

.site-box .address, .venue-box .address {
    color: var(--Shades-of-Grey-90-Grey, #56677B);
    leading-trim: both;
    text-edge: cap;

    /* Medium/H11: 12 */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    /* 116.667% */
    letter-spacing: 0.96px;
    margin-top: 1px;
}

.required-certs {
    width: 100%;
    margin-bottom: 100px;
}

.required-certs p {
    color: var(--Shades-of-Grey-80-Grey, #8B99A9);
    leading-trim: both;
    text-edge: cap;

    /* Extra Bold/H11 */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 14px;
    /* 116.667% */
    letter-spacing: 0.24px;
    margin-bottom: 0px;
}

.cert {
    border-radius: 2px;
    background: var(--Shades-of-Grey-50-Grey, #E2E8F0);

    display: inline-block;
    padding: 8px;
    align-items: flex-start;
    align-content: flex-start;
    gap: 64px;
    flex-wrap: wrap;
    color: var(--Branded-Pallette-Black, #000);
    leading-trim: both;
    text-edge: cap;

    /* Regular/H12: 11 */
    font-family: Roboto;
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.22px;
    margin-top: 5px;
}

.site-box .view-site, .venue-box .view-venue {
    width: 100%;
    color: var(--System-Blue-80, #2169F7);
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.96px;
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.view-site a, .view-venue a {
    text-decoration: none !important;
    padding-left: 5px;
}

.view-site-icon, .view-venue-icon {
    text-align: right;
    padding-right: 30px;
}

/* Venue component additional styles */
.venue-box .venue-details {
    width: 100%;
    padding: 10px 15px;
}

.venue-box .permission {
    margin: 10px 0;
}

.venue-box .company-name {
    color: var(--Shades-of-Grey-90-Grey, #56677B);
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    margin-bottom: 8px;
}

.site-qr-code-box {
    display: flex;
    width: 587px;
    padding: 32px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* gap: 32px; */
    border-radius: 8px;
    background: var(--Shades-of-Grey-30-Grey, #F8F9FB);
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 10px;
}

.qr-code {
    display: flex;
    padding: 32px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 2px solid var(--Shades-of-Grey-60-Grey, #D0DAE6);
}

.checked-in-box {
    padding: 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    flex: 1 0 0;
    align-self: stretch;
    border-radius: 4px;
    border: 1px solid var(--Shades-of-Grey-50-Grey, #E2E8F0);
    background: var(--Shades-of-Grey-30-Grey, #F8F9FB);
    widtH: 425px;
}

.search-box-parent {
    /* width: 1420px; */
}


.search-box {
    display: flex;
    padding: 24px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;
    border-radius: 4px;
    border: 1px solid var(--Shades-of-Grey-50-Grey, #E2E8F0);
    background: var(--Shades-of-Grey-30-Grey, #F8F9FB);
}

.designed-table thead {
    border-bottom: 4px solid var(--Blue-Gray-BGray-50, #D9E0E9);
    background: var(--Shades-of-Grey-30-Grey, #F8F9FB);
}

.button-blue {
    all: unset;
    padding: 16px 24px;
    margin-right: 15px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 3px;
    background: var(--System-Blue-80, #2169F7);
    color: white !important;
    text-decoration: none !important;

    /* Semibold: 12 */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.96px;

    cursor: pointer;
}

.button-gray {
    padding: 16px 24px;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
    gap: 10px;
    border-radius: 4px;
    background: var(--Shades-of-Grey-30-Grey, #F8F9FB);
    color: var(--System-Blue-80, #2169F7);

    /* Semibold: 12 */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.96px;
}

.site-name-container {
    display: flex;
    align-items: center;
}

.site-name {
    margin-right: 10px;
    /* Adjust the margin as needed */
}

.edit-link {
    display: flex;
    align-items: center;
}

.edit-link-go-back {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.edit-link-go-back svg {
    margin-right: 5px;
    /* Adjust the margin as needed */
}

.go-back {
    color: var(--System-Blue-80, #2169F7);
    leading-trim: both;
    text-edge: cap;

    /* Medium/H10: 14 */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px;
    /* 150% */
    letter-spacing: 1.12px;
    text-decoration: none !important;
}

.search-box form {
    width: 100%;
}

.search-box #search {
    display: flex;
    /* width: 700px; */
    height: 46px;
    padding: 8px 16px;
    align-items: center;
    flex: 1 0 0;
    border-radius: 4px;
    border: 1px solid #EDEDEE;
    background: linear-gradient(0deg, #FFF 0%, #FFF 100%), #F5F5F5;
    box-shadow: 0px 0px 16px 0px rgba(86, 103, 123, 0.08) inset;
}

.form-group {
    position: relative;
    display: inline-block
}

.search-input {
    padding-left: 30px !important;
    /* Adjust the padding to make space for the SVG */
}

.search-icon {
    position: absolute;
    left: 10px;
    /* Adjust the left position to align the SVG */
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    /* Ensures the SVG doesn't interfere with input interactions */
}

.search-box h6 {
    color: #000;
    leading-trim: both;
    text-edge: cap;

    /* Medium/H8: 18 */
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 25px;
    /* 138.889% */
    letter-spacing: 0.72px;
}

.search-button {}


.mini-qr-code {
    position: relative;
}

.mini-qr-code svg {
    float: right;
    margin-top: 25px;
}

.mini-qr-code p {
    position: absolute;
    bottom: -40px;
    right: 12px;
    text-align: right;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.check-in-unit {}

.check-in-unit .name {
    color: var(--Branded-Pallette-Black, #000);
    leading-trim: both;
    text-edge: cap;

    /* Medium/H10: 14 */
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 21px;
    /* 150% */
    letter-spacing: 1.12px;
}

.check-in-unit .time {
    color: var(--Shades-of-Grey-80-Grey, #8B99A9);
    leading-trim: both;
    text-edge: cap;

    /* Regular/H11: 12 */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    /* 116.667% */
    letter-spacing: 0.24px;
}

.check-in-unit .compliance {
    color: var(--Shades-of-Grey-80-Grey, #8B99A9);
    leading-trim: both;
    text-edge: cap;

    /* Medium/H12: 11 */
    font-family: Roboto;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.88px;
}

.first-item {
    border-bottom: 1px solid var(--Shades-of-Grey-50-Grey, #E2E8F0);
    padding-bottom: 25px;
    margin-top: 30px;
    margin-bottom: 25px !important;
}

.first-item .name {
    font-size: 18px;
    line-height: 25px;
    /* 138.889% */
    padding-bottom: 10px !important;
    padding-top: 10px !important;
}

.first-item .compliance {
    color: #000;
    font-size: 12px;
    line-height: 14px;
}

.company-logo-table,
.worker-image {
    display: inline-block;
    border-bottom: 1px solid var(--Shades-of-Grey-50-Grey, #E2E8F0);
    background: var(--Shades-of-Grey-30-Grey, #F8F9FB);
    height: 30px;
    width: 30px;
    border-radius: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.company-logo-text,
.worker-name {
    color: var(--Branded-Pallette-Black, #000);
    leading-trim: both;
    text-edge: cap;

    /* Regular/H11: 12 */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    /* 116.667% */
    letter-spacing: 0.24px;
    padding-left: 10px;
}

.company-info,
.worker-info {
    display: flex;
    align-items: center;
}

.check-ins-table thead td {
    height: 75px;
    padding-left: 32px;
    align-items: center;
    gap: 10px;
    align-self: stretch;

    border-bottom: 4px solid var(--Blue-Gray-BGray-50, #D9E0E9);
    background: var(--Shades-of-Grey-30-Grey, #F8F9FB);
    color: var(--Branded-Pallette-Black, #000);
    leading-trim: both;
    text-edge: cap;

    /* Medium/H11: 12 */
    font-family: Roboto;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 14px;
    /* 116.667% */
    letter-spacing: 0.96px;
    vertical-align: middle;
}

.check-ins-table tbody td {
    height: 75px;
    padding: 0px 32px;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    border-bottom: 1px solid var(--Shades-of-Grey-50-Grey, #E2E8F0);
    vertical-align: middle;
}

td {
    position: relative;
}

td::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background: var(--Shades-of-Grey-30-Grey, #F8F9FB);
}

td:last-child::after {
    display: none;
}

/* Access Restriction Styles */
.access-restricted-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f9fafb;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  gap: 0.75rem;
}

.access-restricted-card i {
  font-size: 1.5rem;
  color: #6b7280;
}

.access-restricted-card p {
  color: #4b5563;
  margin: 0;
}

.access-disabled {
  background-color: #f9fafb;
  opacity: 0.8;
}

.access-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  gap: 0.5rem;
}

.access-message i {
  font-size: 1.25rem;
  color: #6b7280;
}

.access-message p {
  margin: 0;
  color: #4b5563;
  text-align: center;
}

.contact-edit-btn {
  margin-left: auto;
  color: #6b7280;
  font-size: 1rem;
  transition: all 0.2s;
}

.contact-edit-btn:hover {
  color: #2563eb;
}