/* =========================================================
   GLOBAL
========================================================= */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #F5F7FA;
    color: #1F2937;
    line-height: 1.5;
}


/* =========================================================
   LINKS
========================================================= */

a {
    color: #F7941D;
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    text-decoration: none;
}


/* =========================================================
   GENERAL BUTTONS
========================================================= */

button {
    font-family: inherit;
    cursor: pointer;

    padding: 10px 22px;

    border: none;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 600;

    transition: 0.2s ease;

    background: #E7B388;
}

button:hover {
    background: #FF7A00;
    transform: translateY(-1px);
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;

    background: #1F2937;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);

    
    z-index: 1000;
}

.nav-container {
    width: 100%;
    max-width: 1800px;

    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 40px;
}


/* Logo */

.nav-logo {
    display: flex;
    align-items: center;

    text-decoration: none;
}

.logo {
    width: 85px;
    height: auto;
}

.logo-text {
    margin-left: 12px;

    display: flex;
    flex-direction: column;
}

.title {
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.subtitle {
    color: #D1D5DB;
    font-size: 15px;
}


/* Navigation */

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    color: white;

    text-decoration: none;

    padding: 12px 18px;

    border-radius: 8px;

    font-weight: 600;

    transition: 0.2s ease;
}

.nav-links a:hover {
    background: #F7941D;
}

.nav-links a.active {
    background: #524C45;
}


/* =========================================================
   NAVBAR DROPDOWNS
========================================================= */

.dropdown {
    position: relative;
}

.dropdown-btn {
    display: block;

    color: white;

    text-decoration: none;

    padding: 12px 18px;

    border-radius: 8px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}

.dropdown:hover .dropdown-btn {
    background: #F7941D;
}

.dropdown-content {
    display: none;

    position: absolute;

    top: 100%;
    left: 0;

    min-width: 200px;

    background: #1F2937;

    border-radius: 8px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);

    overflow: hidden;

    z-index: 1000;
}

.dropdown-content a {
    display: block;

    color: white;

    padding: 13px 18px;

    text-decoration: none;

    border-radius: 0;

    white-space: nowrap;
}

.dropdown-content a:hover {
    background: #F7941D;
}

.dropdown-content a.active {
    background: #524C45;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* =========================================================
   GENERAL MAIN CONTENT
========================================================= */

main {
    width: 100%;
    min-height: calc(100vh - 80px);

    padding: 40px 50px;

    background: #F5F7FA;
}


/* =========================================================
   WELCOME
========================================================= */

div.welcome {
    width: 100%;

    background: #DBCBBA;

    padding: 30px;

    border-radius: 15px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    text-align: center;

    font-size: 18px;

    line-height: 1.6;
}


/* =========================================================
   GENERAL CARDS
========================================================= */

.users {
    width: 100%;

    background: white;

    padding: 35px;

    border-radius: 15px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* =========================================================
   Resources - Add Resource Form
========================================================= */
.add-resources-table h4 {
    margin-bottom: 10px;

    color: #000000;

    font-size: 20px;

    font-weight: 700;

    display: flex;

    align-items: center;

    gap: 8px;
}

.add-resources-table input[type="checkbox"] {
    width: auto;
    padding: 5px;
    margin: 5px;
}

.add-resources-table input[type="radio"] {
    width: auto;
    padding: 5px;
    margin: 5px;
}

td.teamsRes {
    padding: 10px;
    vertical-align: top;
    align-items: center;
}

.resource-details td{
    background-color: #F7941D;
}
.resource-details h4{
    margin-bottom: 10px;

    color: #000000;

    font-size: 20px;

    font-weight: 700;

    display: flex;

    align-items: center;

    gap: 8px;
}




/* =========================================================
   GENERAL TABLE
========================================================= */

table {
    width: 100%;

    border-collapse: separate;
    border-spacing: 0;

    margin-top: 25px;

    overflow: hidden;

    border-radius: 10px;
}

th {
    background: #F7941D;

    color: white;

    font-weight: 600;

    padding: 15px;

    text-align: left;
}

th:first-child {
    border-top-left-radius: 10px;
}

th:last-child {
    border-top-right-radius: 10px;
}

th,
td {
    border-bottom: 1px solid #EEEEEE;

    padding: 15px;

    text-align: left;
}

td {
    background: white;
}

tr:hover td {
    background: #FFF3E6;

    transition: 0.2s ease;
}


/* =========================================================
   ADMIN BUTTON GROUPS
========================================================= */

#default-options,
#admin {
    display: flex;

    justify-content: center;

    gap: 10px;
}


/* =========================================================
   ADD BUTTON
========================================================= */

.add-user {
    background: linear-gradient(
        135deg,
        #FF8C00,
        #FF5E00
    );

    color: white;

    margin-bottom: 20px;
}

.add-user:hover {
    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(255, 122, 0, 0.4);
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.edit {
    background: #FFA726;
    color: white;
}

.delete {
    background: #D9534F;
    color: white;
}

.view {
    background: #FF7A00;
    color: white;
}

.edit:hover,
.delete:hover,
.view:hover {
    opacity: 0.85;
}


/* =========================================================
   FORMS
========================================================= */

textarea,
input,
select {
    width: 100%;

    padding: 12px;

    border-radius: 8px;

    border: 1px solid #D1D5DB;

    font-family: inherit;

    font-size: 15px;

    outline: none;
}

textarea:focus,
input:focus,
select:focus {
    border-color: #F7941D;

    box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.12);
}



/* =========================================================
   MODAL
========================================================= */

.modal {
    display: none;

    position: fixed;

    z-index: 2000;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: white;

    margin: 10% auto;

    padding: 30px;

    width: 400px;

    max-width: calc(100% - 40px);

    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    margin-top: 0;

    color: #FF7A00;
}

.modal-content form {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.modal-content button {
    margin-top: 15px;
}

.close {
    float: right;

    font-size: 28px;

    cursor: pointer;
}

.close:hover {
    color: #FF7A00;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {
    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 30px;
}

.page-title h1 {
    margin: 0;

    font-size: 34px;

    color: #1F2937;
}

.page-title p {
    color: #777;

    margin-top: 8px;
}


/* =========================================================
   ADD / VIEW BUTTONS
========================================================= */

.add-btn,
.view-button {
    background: #F7941D;

    color: white;

    padding: 13px 22px;

    border: none;

    border-radius: 9px;

    cursor: pointer;

    font-weight: 600;

    text-decoration: none;
}

.add-btn:hover,
.view-button:hover {
    background: #E88410;

    text-decoration: none;
}


/* =========================================================
   USERS PAGE
========================================================= */

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    margin-bottom: 30px;
}

.stat-card {
    background: white;

    padding: 24px;

    border-radius: 16px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stat-label {
    color: #777;

    font-size: 14px;
}

.stat-card h2 {
    margin-top: 10px;

    font-size: 34px;
}


/* Toolbar */

.toolbar {
    display: flex;

    justify-content: space-between;

    margin-bottom: 25px;
}

.search-input {
    width: 350px;

    padding: 12px;

    border-radius: 10px;

    border: 1px solid #DDD;
}

.filter-btn {
    background: white;

    border: 1px solid #DDD;

    padding: 12px 20px;

    border-radius: 10px;

    cursor: pointer;
}


/* User table */

.table-card {
    background: white;

    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
}

.user-table {
    width: 100%;

    border-collapse: collapse;
}

.user-table thead {
    background: #1F2937;

    color: white;
}

.user-table th {
    padding: 18px;

    text-align: left;

    background: #1F2937;
}

.user-table td {
    padding: 18px;

    border-bottom: 1px solid #EEE;
}

.user-table tbody tr:hover {
    background: #FFF6EE;
}

.user-table tbody tr:hover td {
    background: transparent;
}


/* Role badge */

.role-badge {
    background: #FFE8C8;

    color: #E67E22;

    padding: 6px 12px;

    border-radius: 999px;

    font-size: 13px;

    font-weight: 600;
}


/* User actions */

.edit-btn {
    background: #F7941D;

    color: white;

    border: none;

    border-radius: 8px;

    padding: 10px 18px;

    cursor: pointer;

    margin-right: 8px;
}

.delete-btn {
    background: #EF4444;

    color: white;

    border: none;

    border-radius: 8px;

    padding: 10px 18px;

    cursor: pointer;
}


/* =========================================================
   DASHBOARD
========================================================= */

.dashboard {
    width: 100%;

    max-width: 1700px;

    margin: 35px auto;

    padding: 0 30px;
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h1 {
    font-size: 34px;

    color: #1F2937;

    margin-bottom: 6px;
}

.dashboard-header p {
    color: #6B7280;

    font-size: 16px;
}


/* Dashboard cards */

.dashboard-card {
    width: 100%;

    display: flex;

    align-items: center;

    background: white;

    border-radius: 14px;

    overflow: hidden;

    margin-bottom: 22px;

    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);

    text-decoration: none;

    transition: 0.25s ease;
}

.dashboard-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.dashboard-card img {
    width: 70%;

    height: 100%;

    min-height: 280px;

    object-fit: cover;

    transition: 0.3s;
}

.dashboard-card:hover img {
    transform: scale(1.03);
}

.card-text {
    width: 30%;

    min-height: 280px;

    padding: 35px;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.card-text h2 {
    font-size: 26px;

    color: #1F2937;

    margin: 0 0 10px;
}

.card-text h3 {
    font-size: 20px;

    color: #1F2937;

    margin: 0 0 12px;
}

.card-text p {
    color: #6B7280;

    font-size: 15px;

    line-height: 1.6;

    margin: 0;
}

.card-arrow {
    margin-top: 18px;

    font-size: 30px;

    color: #F7941D;

    transition: 0.25s;
}

.dashboard-card:hover .card-arrow {
    transform: translateX(8px);
}


/* Dashboard action */

.card-action {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    padding: 11px 18px;

    background: #F7941D;

    color: white;

    border-radius: 8px;

    font-size: 14px;

    font-weight: 600;

    transition: 0.2s;
}

.dashboard-card:hover .card-action {
    background: #E98210;
}

.card-action-arrow {
    font-size: 20px;

    line-height: 1;

    transition: transform 0.2s;
}

.dashboard-card:hover .card-action-arrow {
    transform: translateX(4px);
}


/* =========================================================
   DEPLOYMENT CONTENTS
========================================================= */

.deployment-page {
    width: 100%;

    max-width: 1500px;

    margin: 35px auto;

    padding: 0 30px 60px;
}

.deployment-header {
    margin-bottom: 32px;
}

.deployment-header h1 {
    margin: 0 0 8px;

    font-size: 34px;

    color: #1F2937;
}

.deployment-header p {
    margin: 0;

    color: #6B7280;

    font-size: 16px;
}

.deployment-options {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
}

.deployment-option {
    position: relative;

    min-height: 180px;

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 28px;

    background: white;

    border: 1px solid #E5E7EB;

    border-radius: 16px;

    text-decoration: none;

    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.07);

    transition: 0.25s;
}

.deployment-option:hover {
    transform: translateY(-4px);

    border-color: #FF9941;

    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.deployment-option-icon {
    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #FFF2E5;

    color: #F7941D;

    border-radius: 14px;

    font-size: 27px;

    font-weight: 700;
}

.deployment-option-content {
    flex: 1;
}

.deployment-option-content h2 {
    margin: 0 0 8px;

    color: #1F2937;

    font-size: 24px;
}

.deployment-option-content p {
    margin: 0;

    color: #6B7280;

    font-size: 14px;

    line-height: 1.6;
}

.deployment-option-arrow {
    color: #F7941D;

    font-size: 28px;

    transition: 0.25s;
}

.deployment-option:hover .deployment-option-arrow {
    transform: translateX(6px);
}

.deployment-back {
    display: inline-block;

    margin-top: 30px;

    color: #1F2937;

    text-decoration: none;

    font-weight: 600;
}

.deployment-back:hover {
    color: #F7941D;
}


/* =========================================================
   DEPLOYMENT PLANNING
========================================================= */

.planning-page {
    width: 100%;

    max-width: 1500px;

    margin: 35px auto;

    padding: 0 30px 60px;
}

.planning-header h1 {
    margin: 0 0 6px;

    color: #1F2937;

    font-size: 34px;
}

.planning-header p {
    margin: 0;

    color: #6B7280;

    font-size: 16px;
}


/* =========================================================
   PLAN / CHECKLIST TABS
========================================================= */

.deployment-tabs {
    display: flex;

    width: 100%;

    margin-top: 28px;

    border-bottom: 2px solid #E5E7EB;
}

.deployment-tab {
    padding: 15px 32px;

    border: none;

    background: transparent;

    color: #6B7280;

    font-size: 16px;

    font-weight: 600;

    text-decoration: none;

    cursor: pointer;

    transition: 0.2s;
}

.deployment-tab:hover {
    color: #F7941D;

    background: transparent;

    transform: none;
}

.deployment-tab.active {
    color: #F7941D;

    border-bottom: 3px solid #F7941D;
}


/* =========================================================
   PLANNING PROGRESS
========================================================= */

.planning-progress {
    display: flex;

    align-items: flex-start;

    margin: 38px 0;
}

.progress-step {
    text-align: center;

    color: #9CA3AF;
}

.progress-step span {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: auto;

    border-radius: 50%;

    background: #E5E7EB;

    font-weight: 700;
}

.progress-step p {
    margin: 7px 0 0;

    font-size: 12px;
}

.progress-step.active span {
    background: #F7941D;

    color: white;
}

.progress-step.active {
    color: #1F2937;
}

.progress-line {
    flex: 1;

    height: 3px;

    margin-top: 18px;

    background: #E5E7EB;
}


/* =========================================================
   PLAN QUESTIONS
========================================================= */

.plan-step {
    display: none;
}

.plan-step.active {
    display: block;
}

.plan-question {
    display: flex;

    gap: 15px;

    align-items: center;

    margin-bottom: 25px;
}

.question-number {
    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    background: #1F2937;

    color: white;

    border-radius: 50%;

    font-weight: 700;
}

.plan-question h2 {
    margin: 0 0 4px;

    color: #1F2937;
}

.plan-question p {
    margin: 0;

    color: #6B7280;
}


/* =========================================================
   PLAN OPTIONS
========================================================= */

.plan-options {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;
}

.plan-option {
    min-height: 58px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 18px;

    background: white;

    border: 1px solid #D1D5DB;

    border-radius: 10px;

    color: #374151;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}

.plan-option:hover {
    border-color: #F7941D;

    transform: none;

    background: #FFF9F3;
}

.option-check {
    width: 24px;
    height: 24px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border: 2px solid #D1D5DB;

    border-radius: 6px;

    color: transparent;
}

.plan-option.selected {
    background: #E8F5E9;

    border-color: #66A96B;

    color: #245C2A;
}

.plan-option.selected .option-check {
    background: #4F8F55;

    border-color: #4F8F55;

    color: white;
}


/* =========================================================
   CLIENT FORM
========================================================= */

.client-form {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.client-form label {
    display: flex;

    flex-direction: column;

    gap: 8px;

    color: #374151;

    font-weight: 600;
}

.client-form input,
.client-form textarea {
    padding: 12px;

    border: 1px solid #D1D5DB;

    border-radius: 8px;

    font-family: inherit;
}

.full-width {
    grid-column: 1 / -1;
}


/* =========================================================
   PLANNING BUTTONS
========================================================= */

.planning-actions {
    display: flex;

    justify-content: space-between;

    margin-top: 35px;
}

.planning-button {
    padding: 14px 26px;

    border-radius: 9px;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    text-decoration: none;
}

.planning-button.primary {
    border: none;

    background: #F7941D;

    color: white;
}

.planning-button.primary:hover {
    background: #E98210;

    transform: translateY(-1px);
}

.planning-button.secondary {
    border: 1px solid #D1D5DB;

    background: white;

    color: #374151;
}

.planning-button.secondary:hover {
    background: #F8FAFC;

    transform: none;
}


/* =========================================================
   DEPLOYMENT CHECKLIST
========================================================= */

.checklist-page {
    width: 100%;

    max-width: none;

    margin: 0;

    padding: 40px 50px 80px;

    box-sizing: border-box;
}


/* =========================================================
   CHECKLIST HEADER
========================================================= */

.checklist-header {
    width: 100%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 25px;
}

.page-eyebrow {
    margin-bottom: 7px;

    color: #F7941D;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.checklist-header h1 {
    margin: 0 0 8px;

    font-size: 38px;

    line-height: 1.2;

    color: #1F2937;
}

.checklist-header p {
    margin: 0;

    color: #6B7280;

    font-size: 17px;
}


/* =========================================================
   CHECKLIST SUMMARY
========================================================= */

.checklist-summary {
    width: 100%;

    margin-top: 0;

    padding: 28px;

    background: white;

    border: 1px solid #E5E7EB;

    border-radius: 14px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.summary-heading h2 {
    margin: 0 0 6px;

    color: #1F2937;

    font-size: 23px;
}

.summary-heading p {
    margin: 0;

    color: #6B7280;

    font-size: 15px;
}

.summary-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

    margin-top: 22px;
}

.summary-box {
    display: flex;

    align-items: center;

    gap: 15px;

    min-height: 90px;

    padding: 18px;

    background: #F8FAFC;

    border: 1px solid #E5E7EB;

    border-radius: 10px;
}

.summary-icon {
    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    background: #FFF2E5;

    color: #F7941D;

    border-radius: 10px;

    font-size: 20px;
}

.summary-box span {
    display: block;

    margin-bottom: 5px;

    color: #6B7280;

    font-size: 13px;

    font-weight: 600;
}

.summary-box strong {
    display: block;

    color: #1F2937;

    font-size: 16px;
}


/* =========================
   CHECKLIST GROUP GRID
========================= */

/* Put the small checklist groups side-by-side; category heading spans the whole row */
.equipment-checklist {
    width: 100%;
    margin-bottom: 30px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.equipment-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;

    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 1100px) {
    .equipment-checklist {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .equipment-checklist {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   CATEGORY PROGRESS
========================================================= */

.section-progress {
    min-width: 75px;

    padding: 9px 17px;

    text-align: center;

    background: #1F2937;

    color: white;

    border-radius: 20px;

    font-size: 14px;

    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================
   EQUIPMENT GROUP
========================================================= */

.equipment-group {
    width: 100%;

    margin-bottom: 25px;

    background: white;

    border: 1px solid #E5E7EB;

    border-radius: 12px;

    padding: 20px;

    overflow: hidden;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}


/* Subcategory heading */

.equipment-group h3 {
    margin: 0;

    padding: 17px 24px;

    background: #F3F4F6;

    border-bottom: 1px solid #E5E7EB;

    color: #1F2937;

    font-size: 17px;

    font-weight: 700;
}


/* =========================================================
   CHECKLIST ROW
========================================================= */

.checklist-row {
    position: relative;

    min-height: 76px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 14px 24px;

    background: white;

    border-bottom: 1px solid #F0F1F3;

    transition: background 0.2s ease;
}

.checklist-row:last-child {
    border-bottom: none;
}

.checklist-row:hover {
    background: #FFF9F3;
}


/* =========================================================
   CHECKLIST ITEM INFORMATION
========================================================= */

.checklist-item-info {
    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 5px;

    min-width: 0;

    padding-right: 25px;
}

.checklist-item-name {
    font-size: 17px;

    font-weight: 600;

    color: #374151;
}

.checklist-item-description {
    font-size: 14px;

    color: #6B7280;

    line-height: 1.5;
}


/* =========================================================
   CHECKED STATE
========================================================= */

.checklist-row.checked {
    background: #E8F5E9;
}

.checklist-row.checked .checklist-item-name {
    color: #245C2A;

    font-weight: 700;
}

.checklist-row.checked .checklist-item-description {
    color: #4F6F52;
}


/* =========================================================
   CHECKLIST SWITCH
========================================================= */

.switch {
    position: relative;

    width: 56px;
    height: 30px;

    flex-shrink: 0;

    margin-left: 20px;
}

.switch input {
    opacity: 0;

    width: 0;
    height: 0;
}

.slider {
    position: absolute;

    cursor: pointer;

    inset: 0;

    background: #D1D5DB;

    border-radius: 30px;

    transition: 0.2s;
}

.slider::before {
    content: "";

    position: absolute;

    width: 22px;
    height: 22px;

    left: 4px;
    top: 4px;

    background: white;

    border-radius: 50%;

    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);

    transition: 0.2s;
}

.switch input:checked + .slider {
    background: #4F8F55;
}

.switch input:checked + .slider::before {
    transform: translateX(26px);
}


/* =========================
   RECOMMENDATION CHECKLIST
========================= */

.recommendation-checklist-category {
    width: 100%;
    margin-bottom: 35px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* Category title spans the entire row */
.recommendation-category-title {
    grid-column: 1 / -1;

    margin: 0;
    padding: 0 0 5px 0;

    font-size: 22px;
    font-weight: 700;
    color: #222;
}

/* Individual subcategory card */
.recommendation-checklist-card {
    background: #ffffff;

    border: 1px solid #e1e5ea;
    border-radius: 12px;

    padding: 0 18px 10px 18px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

    overflow: hidden;
}

/* Subcategory heading */
.recommendation-card-header {
    margin: 0 -18px 5px -18px;
    padding: 15px 18px;

    background: #f5f7f9;

    border-bottom: 1px solid #e1e5ea;

    font-size: 17px;
    font-weight: 700;
    color: #222;
}

/* Checklist item */
.recommendation-admin-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 13px 0;

    border-bottom: 1px solid #f0f0f0;
}

/* Remove border from final item */
.recommendation-admin-row:last-child {
    border-bottom: none;
}

/* Item name */
.recommendation-admin-row > span {
    font-size: 15px;
    font-weight: 500;
    color: #333;

    line-height: 1.4;
}

/* Toggle */
.recommendation-admin-row .switch {
    flex-shrink: 0;
}

/* Save area */
.recommendation-save-area {
    width: 100%;

    display: flex;
    justify-content: flex-end;

    margin-top: 10px;
    padding: 20px 0;
}

/* Responsive */
@media (max-width: 1100px) {

    .recommendation-checklist-category {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 700px) {

    .recommendation-checklist-category {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   CHECKLIST ACTIONS
========================================================= */

.checklist-actions {
    width: 100%;

    margin-top: 35px;

    padding-top: 25px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-top: 1px solid #E5E7EB;
}


/* =========================================================
   MOBILE / TABLET
========================================================= */

@media (max-width: 1200px) {

    .checklist-page {
        padding: 35px 35px 70px;
    }

    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-card img {
        width: 60%;
    }

    .card-text {
        width: 40%;
    }
}


@media (max-width: 900px) {

    .nav-container {
        padding: 0 20px;
    }

    .nav-links {
        gap: 3px;
    }

    .nav-links a,
    .dropdown-btn {
        padding: 10px 12px;
    }

    .deployment-options {
        grid-template-columns: 1fr;
    }

    .dashboard-card {
        flex-direction: column;
    }

    .dashboard-card img {
        width: 100%;

        height: 250px;

        min-height: 0;
    }

    .card-text {
        width: 100%;

        min-height: auto;
    }

    .client-form {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 700px) {

    main {
        padding: 25px 18px;
    }

    .navbar {
        height: auto;

        min-height: 70px;
    }

    .nav-container {
        flex-direction: column;

        gap: 15px;

        padding: 15px;
    }

    .nav-links {
        width: 100%;

        justify-content: center;

        flex-wrap: wrap;
    }

    .checklist-page {
        padding: 25px 18px 50px;
    }

    .checklist-header h1 {
        font-size: 29px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .summary-box {
        min-height: 75px;
    }

    .equipment-section-header {
        align-items: flex-start;

        gap: 15px;
    }

    .section-heading-content {
        align-items: flex-start;
    }

    .equipment-section-header h2 {
        font-size: 21px;
    }

    .equipment-section-header p {
        font-size: 14px;
    }

    .checklist-row {
        min-height: 70px;

        padding: 14px 16px;
    }

    .checklist-item-name {
        font-size: 16px;
    }

    .checklist-item-description {
        font-size: 13px;
    }

    .switch {
        width: 50px;

        height: 28px;

        margin-left: 10px;
    }

    .slider::before {
        width: 20px;
        height: 20px;

        left: 4px;
        top: 4px;
    }

    .switch input:checked + .slider::before {
        transform: translateX(22px);
    }

    .checklist-actions {
        flex-direction: column;

        gap: 12px;
    }

    .planning-button {
        width: 100%;

        text-align: center;

        box-sizing: border-box;
    }

    .plan-options {
        grid-template-columns: 1fr;
    }

    .client-form {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: auto;
    }

    .toolbar {
        flex-direction: column;

        gap: 15px;
    }

    .search-input {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 550px) {

    .deployment-tabs {
        overflow-x: auto;
    }

    .deployment-tab {
        padding: 13px 20px;

        white-space: nowrap;
    }

    .equipment-section-header {
        flex-direction: column;
    }

    .section-progress {
        align-self: flex-start;
    }

    .section-heading-content {
        width: 100%;
    }

    .section-number {
        width: 36px;
        height: 36px;

        font-size: 15px;
    }

    .equipment-group h3 {
        padding: 15px 16px;

        font-size: 16px;
    }

    .checklist-row {
        align-items: flex-start;
    }

    .switch {
        margin-top: 5px;
    }

    .recommended-badge {
        display: none;
    }
}

/* =========================
   PROMPT MANAGEMENT
========================= */

.prompt-management-section {
    width: 100%;
    margin-bottom: 30px;
}

.prompt-category-title {
    margin: 0 0 12px 0;

    font-size: 20px;
    font-weight: 700;
    color: #222;
}


/* =========================
   PROMPT BUTTONS
========================= */

.prompt-management-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.prompt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;

    background: #ffffff;

    border: 1px solid #d9dee4;
    border-radius: 8px;

    color: #222;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    cursor: pointer;

    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);

    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.prompt-button:hover {
    background: #f5f7f9;

    border-color: #bfc6ce;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);

    transform: translateY(-1px);
}

.prompt-button:active {
    transform: translateY(0);
}

/* =========================
   RECOMMENDED CHECKLIST ITEMS
========================= */

.recommendation-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 12px 16px;
    background: #fff7ed;
    border: 1px solid #ffb366;
    border-radius: 10px;
    color: #8a4b08;
    font-size: 14px;
}

.recommendation-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff8c00;
    flex-shrink: 0;
}


/* Recommended row */

.checklist-row.recommended {
    border: 2px solid #ff8c00;
    background: #fff8ef;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.12);
}


/* Item name + badge */

.checklist-item-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.recommended-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 20px;
    background: #ff8c00;
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}


/* =========================
   SAVE RECOMMENDATIONS BUTTON
========================= */

.btn-reco {
    position: sticky;
    bottom: 20px;
    right: 20px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-left: auto;

    padding: 14px 28px;

    background: linear-gradient(135deg, #FF8C00, #FF5E00);

    border: none;
    border-radius: 10px;

    color: white;
    font-size: 15px;
    font-weight: 700;

    box-shadow: 0 8px 20px rgba(255, 122, 0, 0.35);

    transition: transform 0.2s ease, box-shadow 0.2s ease;

    z-index: 10;
}

.btn-reco:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(255, 122, 0, 0.45);
}

/* =========================
   EDIT CHECKLIST CATEGORY
========================= */

.icon-field-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
}

.icon-preview {
    width: 34px;
    height: 34px;
    border: 1px solid #ccc;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: #fafafa;
    flex-shrink: 0;
}

.icon-preview iconify-icon {
    font-size: 20px;
}

.choose-icon-btn {
    padding: 6px 10px;
    border: 1px solid #888;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

.choose-icon-btn:hover {
    background: #f0f0f0;
}

td[data-icon-cell] iconify-icon {
    font-size: 24px;
}

#iconPickerPopup.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
}

#iconPickerPopup .modal-content {
    background: #fff;
    margin: 8% auto;
    padding: 20px;
    max-width: 520px;
    border-radius: 8px;
    position: relative;
}

#iconPickerPopup .close {
    position: absolute;
    top: 10px;
    right: 16px;
    cursor: pointer;
    font-size: 22px;
}

#iconPickerSearch {
    width: 100%;
    padding: 8px 10px;
    box-sizing: border-box;
    margin-bottom: 12px;
}

#iconPickerGrid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    max-height: 320px;
    overflow-y: auto;
}

.icon-picker-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 0;
    cursor: pointer;
    background: #fff;
    font-size: 24px;
}

.icon-picker-item:hover {
    background: #e8f0fe;
    border-color: #4285f4;
}

.icon-picker-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    padding: 20px 0;
}