/** {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    background-color: #f4f4f4;
    overflow: hidden;
}*/

/* Visitor Registration - Step 3 (Signature) */
.vr-container {
    width: 100%;
    height: 100%;
    padding-left: 160px;
    padding-right: 160px;
    padding-top: 56px;
    padding-bottom: 56px;
    display: inline-flex;
    justify-content: center;
    align-items: flex-start;
    background: #edebe9;
    gap: 112px;
}

.vr-left {
  width: 368px;
  padding-top: 39px;
  padding-bottom: 39px;
  display: inline-flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
}

.vr-title {
  color: var(--Text-color-content-text-color, #201F1E);
  font-size: 28px;
  font-family: Libre Baskerville, serif;
  font-weight: 700;
  line-height: 35px;
  letter-spacing: 0.56px;
}

.vr-subtitle {
  color: var(--Text-color-content-text-color-alt3, #605E5C);
  font-size: 16px;
  font-family: Poppins, Arial, sans-serif;
  font-weight: 400;
  line-height: 24px;
}

.vr-right {
  width: 730px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 32px;
}

.sig-card {
  align-self: stretch;
  height: 552px;
  position: relative;
  background: var(--Background-color-content-bg-color-alt4, #E1DFDD);
  overflow: hidden;
  border-radius: 24px;
}

.sig-title {
  position: absolute;
  left: 48px;
  top: 48px;
  color: #272727;
  font-size: 20px;
  font-family: Libre Baskerville, serif;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: 0.40px;
}

.sig-pad-wrap {
  position: absolute;
  left: 48px;
  right: 48px;
  top: 96px;
  bottom: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sig-pad {
    width: 100%;
    height: 100%;
    background: #E1DFDD;
    border-radius: 16px;
    /*  border: 2px dashed #1677FF;*/
    display: flex;
    align-items: center;
    justify-content: center;
}

.sig-canvas {
    width: 90%;
    height: 80%;
    border-radius: 12px;
    border: 1px solid #ccc;
    background: #E1DFDD;
}

.vr-footer {
  align-self: stretch;
  height: 38px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 16px; /* gap near Cancel */
  padding-right: 16px; /* breathing room on right */
}

.cancel-wrap { height: 20px; padding-left: 2px; padding-right: 2px; display: flex; align-items: center; }
.link-cancel { background: none; border: none; cursor: pointer; padding: 0; }
.cancel-inner { display: flex; align-items: center; gap: 10px; height: 20px; }
.cancel-text {
  color: var(--Foregroung-color-warning, #D7734E);
  font-size: 14px;
  font-family: Poppins, Arial, sans-serif;
  font-weight: 500;
  line-height: 22px;
}

.vr-actions { display: flex; align-items: flex-start; gap: 7px; }

.btn-secondary {
  height: 38px;
  padding-left: 16px;
  padding-right: 16px;
  background: var(--Foregroung-color-theme-lighter, #E4F0DB);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}
.btn-label { height: 20px; display: flex; align-items: center; gap: 7px; }
.btn-text-secondary {
  color: var(--Text-color-content-text-primary, #517933);
  font-size: 14px;
  font-family: Poppins, Arial, sans-serif;
  font-weight: 500;
  line-height: 24px;
}

.btn-primary {
  height: 38px;
  padding-left: 16px;
  padding-right: 16px;
  background: var(--Primary-button-primary-bg-color, #517933);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}
.btn-text-primary {
  color: var(--Foregroung-color-primary-text-color, #fff);
  font-size: 14px;
  font-family: Poppins, Arial, sans-serif;
  font-weight: 500;
  line-height: 24px;
}

/* simple 18x18 icon boxes to mimic spec outlines */
.icon-18 { width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.icon-18-inner { width: 18px; height: 18px; position: relative; overflow: hidden; }
.icon-18-left { position: absolute; left: 3px; top: 6px; width: 4.5px; height: 6px; border-radius: 0.5px; outline: 1.5px var(--Icon-color-icon-primary, #517933) solid; outline-offset: -0.75px; }
.icon-18-right { position: absolute; left: 10.5px; top: 6px; width: 4.5px; height: 6px; border-radius: 1px; outline: 1.5px var(--Icon-color-icon-inverse, #fff) solid; outline-offset: -0.75px; }

/* Success View */
.success-card {
  align-self: stretch;
  height: 552px;
  position: relative;
  background: var(--Background-color-content-bg-color, #fff);
  overflow: hidden;
  border-radius: 24px;
}

.success-content { width: 563px; position: absolute; left: 84px; top: 171px; display: inline-flex; flex-direction: column; align-items: center; gap: 32px; }
.success-title {
  color: var(--Text-color-content-text-primary, #517933);
  font-size: 24px;
  font-family: Libre Baskerville, serif;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 0.48px;
  text-align: center;
}
.success-text {
  color: var(--Text-color-content-text-color-alt3, #605E5C);
  font-size: 16px;
  font-family: Poppins, Arial, sans-serif;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}

/* Responsive overrides for success view */
@media (max-width: 768px) {
  .vr-container { padding-left: 16px; padding-right: 16px; gap: 24px; }
  .vr-right { width: 100%; }
  .success-card { height: auto; min-height: 420px; }
  .success-content { position: static; width: 100%; left: auto; top: auto; padding: 24px 16px; gap: 20px; }
  .success-title { font-size: 20px; line-height: 26px; }
  .success-text { font-size: 14px; line-height: 22px; }
}

@media (max-width: 430px) {
  .success-card { min-height: 380px; }
  .success-content { padding: 16px 12px; gap: 16px; }
  .success-title { font-size: 18px; line-height: 24px; }
  .success-text { font-size: 13px; line-height: 20px; }
}

.start-new-wrap { height: 20px; padding-left: 2px; padding-right: 2px; display: inline-flex; align-items: center; gap: 10px; }
.start-new-link { background: none; border: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 0; }
.start-new-inner { align-self: stretch; padding-top: 5px; padding-bottom: 5px; display: flex; align-items: center; }
.start-new-text {
  color: var(--Primary-button-primary-bg-color, #517933);
  font-size: 16px;
  font-family: Poppins, Arial, sans-serif;
  font-weight: 500;
  line-height: 24px;
}
.start-new-icon { width: 18px; height: 18px; position: relative; overflow: hidden; }
.start-new-icon-outer { position: absolute; left: 2.25px; top: 2.25px; width: 13.5px; height: 13.5px; outline: 1.5px var(--Icon-color-icon-primary, #517933) solid; outline-offset: -0.75px; }
.start-new-icon-inner { position: absolute; left: 8.25px; top: 2.25px; width: 7.5px; height: 7.5px; outline: 1.5px var(--Icon-color-icon-primary, #517933) solid; outline-offset: -0.75px; }

/* Responsive tweaks */
@media (max-width: 1024px) {
  .vr-container { padding-left: 40px; padding-right: 40px; gap: 48px; }
  .vr-right { width: 100%; }
}

@media (max-width: 768px) {
  .vr-container { flex-direction: column; gap: 24px; }
  .vr-left { width: 100%; }
}



.footer-checkin-step3 .footer-text {
  color: var(--Text-color-content-text-color-alt3, #605E5C);
  font-size: 14px;
  font-family: Poppins, Arial, sans-serif;
  font-weight: 400;
  line-height: 24px;
}

/* Container */
/*.container {
    display: flex;
    width: 100%;
    height: 100vh;
    margin: 0;
    flex-direction: column;
    max-width: 100%;
}*/

/* Sidebar */
/*.sidebar {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #fff;
    padding: 0;
    border-bottom: 1px solid #ddd;
    max-width: 100%;
    flex-shrink: 0;
}

    .sidebar .logo {
        width: 100%;
        margin: 12px 0 20px;
        padding: 10px 0;
        position: relative;
        text-align: center;
    }

        .sidebar .logo::after {
            content: "";
            position: absolute;
            bottom: 0px;
            left: 0%;
            width: 100%;
            height: 0.5px;
            background-color: #ccc;
        }

        .sidebar .logo img {
            width: 40px;
            display: inline-block;
        }

    .sidebar a {
        display: flex;
        align-items: center;
        padding: 12px 25px;
        text-decoration: none;
        color: #333;
        gap: 4px;
    }

        .sidebar a:hover {
            background-color: #C3CF47;
        }

        .sidebar a.active {
            background-color: #C3CF47;
            font-weight: bold;
        }

        .sidebar a i {
            margin-right: 10px;
        }

.logout-btn {
    margin-top: auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

.logout-separator {
    border: none;
    height: 1px;
    background: #e0e0e0;
    margin: 6px 4px;
}

.logout-btn a {
    display: flex;
    align-items: center;
    color: #ff4500;
    padding: 12px 25px;
    text-decoration: none;
    gap: 8px;
}

    .logout-btn a:hover {
        background: #f8f8f8;
        border-radius: 6px;
    }

.logout-btn svg {
    flex-shrink: 0;
}*/

/* Content */
/*.content {
    flex-grow: 1;
    padding: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 110px);*/ /* Adjust based on approximate sidebar height */
    /*position: relative;
}*/

/* Header */
/*.header {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.hamburger-menu {
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 1rem;
}*/

/* Search bar styling */
/*.search-bar {
    max-width: 10000px;
    width: 1601px;
    margin-bottom: 10px;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.search-input-wrapper {
    position: relative;
    max-width: 300px;
    width: 100%;
    margin-right: 20px;
    padding: 10px 1 10px 18px;
}

.search-input-field {
    width: 100%;
    padding: 10px 38px 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
}

    .search-input-field:focus {
        outline: none;
        border-color: #517933;
    }

.search-input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-user-btn {
    background-color: #517933;
    color: white;
    padding: 10px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .add-user-btn:hover {
        background-color: #6ba141;
    }

.table-container {
    margin: 0 20px;
    background-color: white;
    border-radius: 8px;
    overflow-x: auto;*/ /* Enable horizontal scrolling */
    /*overflow-y: auto;
    height: calc(100vh - 180px);*/ /* Adjust for search bar (50px) and pagination (50px) */
    /*max-height: 528px;*/ /* 10 rows * 48px + 48px header */
    /*flex-shrink: 0;
}

table {
    width: 100%;
    min-width: 600px;*/ /* Ensure table is wide enough for all columns */
    /*border-collapse: collapse;
    background-color: white;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    height: 48px;*/ /* Fixed row height for consistency */
    /*white-space: nowrap;*/ /* Prevent text wrapping by default */
    /*overflow: hidden;
    text-overflow: ellipsis;*/ /* Add ellipsis for overflowing text */
/*}

th {
    background-color: #e1dfdf;
    position: sticky;
    top: 0;
    z-index: 1;
    height: 48px;
}

.th-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.max-height {
    height: 559px;
    max-height: 555px;
}

.icon-right {
    display: inline-flex;
    align-items: center;
}

.profile-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #517933;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.status-pill {
    background-color: #d4edda;
    color: #155724;
    padding: 3px 10px;
    font-size: 13px;
    border-radius: 12px;
    display: inline-block;
    font-weight: 500;
}

.status-inactive {
    background-color: #fff8f8;
    color: #000000;
}

.svg-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}*/

/* Pagination */
/*.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 65px 20px 0 0;
    background-color: #f4f4f4;
    margin: 0 20px;
    border-radius: 8px;
    position: sticky;
    bottom: 0;
    z-index: 1;
    flex-shrink: 0;
    height: 50px;*/ /* Fixed height for pagination */
/*}

.pagination-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination button {
    padding: 5px 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
}

    .pagination button:disabled {
        cursor: not-allowed;
        opacity: 0.5;
    }

    .pagination button:hover:not(:disabled) {
        background-color: #f0f0f0;
    }

.pagination select {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination-right {
    font-size: 14px;
}

.active-page {
    border-bottom: 2px solid #000;
    padding-bottom: 2px;
    font-weight: bold;
}*/

/* Drawer styles */
/*.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

    .drawer.open {
        pointer-events: auto;
        opacity: 1;
    }

.drawer-content-employee {
    width: 98vw;
    max-width: 1600px;
    height: 100vh;
    background: #f8f8f8;
    box-shadow: -2px 0 16px rgba(0,0,0,0.12);
    animation: slideInDrawer 0.4s cubic-bezier(.4,0,.2,1);
    border-radius: 40px;
    margin-left: auto;
    margin-right: 2vw;
    margin-top: 20px;
}

@keyframes slideInDrawer {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

.drawer-left {
    width: 480px;
    background-color: #517933;
    color: #fff;
    padding: 48px 32px 32px 32px;
    display: flex;
    flex-direction: column;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    margin-left: 20px;
    margin-top: 20px;
}

.drawer-right {
    flex: 1;
    background: #f8f8f8;
    padding: 40px 48px 32px 48px;
    position: relative;
    min-width: 0;
    overflow-y: auto;
}*/

/* Desktop Layout */
/*@media (min-width: 768px)  {
    .container {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        border-bottom: none;
        border-right: 1px solid #ddd;
        height: 100vh;
    }

    .content {
        height: 100vh;
        max-height: 100vh;
    }

    .table-container {
        height: calc(100vh - 20px);*/ /* Adjust for search bar (50px) and pagination (50px) */
        /*max-height: 650px;*/ /* 10 rows * 48px + 48px header */
        /*padding: 0px;
    }

    .search-bar {
        flex-wrap: nowrap;
    }

        .search-bar input {
            max-width: 300px;
        }

    .hamburger-menu {
        display: none;*/ /* Hide hamburger menu on desktop */
    /*}

    .drawer-content-employee {
        width: 80vw;
    }

    .drawer-left {
        width: 300px;
    }
}*/

/* Mobile Layout */
/*@media (max-width: 767px) {
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 250px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

        .sidebar.active {
            transform: translateX(0);
        }

            .sidebar.active ~ .content .header {
                display: none;*/ /* Hide entire header when sidebar is active */
            /*}

            .sidebar.active .logo {
                display: none;*/ /* Hide logo when sidebar is active in mobile view */
            /*}

        .sidebar .logo {
            padding: 0.75rem 0;
            margin: 0.5rem 0 1rem;
        }

            .sidebar .logo img {
                width: 36px;
            }

        .sidebar a {
            padding: 10px 15px;
            font-size: 0.9375rem;
        }

    .content {
        padding: 0.75rem;
        height: 100vh;
    }

    .search-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 0.5rem;
        width: 100%;
        max-width: 100%;
    }

    .search-input-wrapper {
        max-width: 100%;
        margin-right: 0;
        padding: 0;
    }

    .search-input-field {
        padding: 8px 36px 8px 12px;
        font-size: 0.875rem;
    }

    .add-user-btn {
        width: 100%;
        text-align: center;
        padding: 10px;
        font-size: 0.875rem;
    }

    .table-container {
        margin: 0 10px;
        height: calc(100vh - 200px);*/ /* Adjust for mobile */
        /*max-height: 528px;*/ /* 10 rows * 48px + 48px header */
        /*overflow-x: auto;*/ /* Enable horizontal scrolling */
    /*}

    table {
        min-width: 600px;*/ /* Ensure table is wide enough for all columns */
    /*}

    th, td {
        padding: 8px;
        font-size: 0.875rem;
        height: 40px;
        white-space: normal;*/ /* Allow text wrapping */
        /*overflow: visible;*/ /* Prevent text cutoff */
        /*text-overflow: clip;*/ /* Remove ellipsis for wrapping */
        /*max-width: 150px;*/ /* Limit column width to prevent overflow */
    /*}

    .pagination {
        flex-direction: row;*/ /* Align text and buttons on same line */
        /*align-items: center;
        justify-content: space-between;
        margin: 0 10px;
        padding: 0.5rem;
        height: auto;
        min-height: 40px;*/ /* Reduced height for tighter layout */
        /*flex-wrap: nowrap;*/ /* Prevent wrapping to next line */
    /*}

    .pagination-left {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 1;*/ /* Allow buttons to shrink if needed */
    /*}

    .pagination-right {
        margin-top: 0;*/ /* Remove margin to align with buttons */
        /*font-size: 0.75rem;*/ /* Smaller font to fit */
        /*flex-shrink: 1;*/ /* Allow text to shrink if needed */
        /*white-space: nowrap;*/ /* Prevent text wrapping */
    /*}

    .pagination button {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .pagination select {
        padding: 4px;
        font-size: 0.75rem;
    }

    .drawer-content-employee {
        flex-direction: column;
        width: 100vw;
        border-radius: 0;
        margin: 0;
    }

    .drawer-left {
        width: 100%;
        padding: 1.5rem;
        margin: 0;
        border-radius: 0;
    }

    .drawer-right {
        padding: 1.5rem;
    }
}*/

/* Small Mobile */
/*@media (max-width: 480px) {
    .sidebar {
        width: 200px;
    }

        .sidebar .logo img {
            width: 32px;
        }

        .sidebar a {
            padding: 8px 10px;
            font-size: 0.875rem;
        }

    .logout-btn a {
        padding: 8px 10px;
        font-size: 0.875rem;
    }

    .search-input-field {
        padding: 8px 32px 8px 10px;
        font-size: 0.8125rem;
    }

    .add-user-btn {
        padding: 8px;
        font-size: 0.8125rem;
    }

    th, td {
        padding: 6px;
        font-size: 0.75rem;
        height: 36px;
        max-width: 100px;*/ /* Tighter column width for small screens */
    /*}

    .profile-circle {
        width: 20px;
        height: 20px;
        font-size: 0.625rem;
    }

    .status-pill {
        font-size: 0.6875rem;
        padding: 2px 6px;
    }

    .svg-icons {
        gap: 8px;
    }

    .pagination {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem;
        min-height: 36px;
        flex-wrap: nowrap;
    }

    .pagination-left {
        gap: 4px;
        flex-shrink: 1;
    }

    .pagination-right {
        font-size: 0.6875rem;
        flex-shrink: 1;
        white-space: nowrap;
    }

    .pagination button {
        padding: 3px 6px;
        font-size: 0.6875rem;
    }

    .pagination select {
        padding: 3px;
        font-size: 0.6875rem;
    }

    .drawer-left {
        padding: 1rem;
    }

    .drawer-right {
        padding: 1rem;
    }
}*/
