body {
    margin: 0;
    font-family: 'Montserrat',sans-serif;
    background: #f4f6f9;
}

.dashboard {
    overflow-y: auto;
    flex: 1;
}

.badge-count {
    background: #0f1445;
}

.table thead {
    background: #0f1445;
    color: #fff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #ff3399;
    color: #fff;
    position: fixed;
    top: 0;
    z-index: 10;
    border-bottom: 3px double #f78812;
    width :100%;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
    border-bottom: 3px double #fff;
    padding-bottom: 2px;
}

.user-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logout {
    background: #f78812;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.container-custom {
    display: grid;
    grid-template-columns: 320px 1fr;
    height: calc(100vh - 60px);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-top:100px;
}

.right-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.tabs {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    justify-content: space-between;
}

.tab {
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    background: #f4f6f9;
}

    .tab.active {
        background: #0f1445;
        color: #fff;
    }

.card {
    background: #fff;
    border-radius: 10px;
/*    padding-top:100px;*/
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    width: 100%;
}

#linkCard {
   
    margin-top: 100px;
    width:100%;
}
/* small form styles in left panel */
.left-panel label {
    font-size: 13px;
    font-weight: 600;
}

.left-panel input,
.left-panel select,
.left-panel textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 6px;
    box-sizing: border-box;
}

a {
    text-decoration:none;
    color:black;
}

#urllinks {
    text-decoration:auto;
    color:blue;
}
/*    fontsheet invoice*/
.wizard-wrap {
    padding: 20px;
}

.wizard-title {
    font-size: 25px;
    font-weight: 700;
    color: #0f1445;
    margin-bottom: 10px;
}

.wizard-subtext {
    font-size: 18px;
    color: #6c757d;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.4;
    max-width: 1400px;
}

.fs-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

    .fs-grid.two-row {
        grid-template-columns: repeat(4, minmax(220px, 1fr));
    }

.fs-field label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 10px;
}

.fs-box {
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    padding: 12px 14px;
    background: #fff;
    font-size: 8px;
    font-weight: 700;
    color: #222;
    min-height: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.fs-grid .span-2 {
    grid-column: span 2;
}

.fs-grid .span-3 {
    grid-column: span 3;
}

.fs-grid .span-4 {
    grid-column: span 4;
}

.wizard-actions {
    display: flex;
    gap: 18px;
    margin-top: 25px;
}

.btn-fetch {
    background: #6c757d;
    color: #fff;
    font-weight: 800;
    border: none;
    padding: 12px 22px;
    font-size: 18px;
    border-radius: 10px;
}

.btn-next {
    background: #f4b400;
    color: #000;
    font-weight: 900;
    border: none;
    padding: 12px 22px;
    font-size: 18px;
    border-radius: 10px;
}

.btn-back {
    background: #fff;
    border: 2px solid #222;
    color: #111;
    font-weight: 900;
    padding: 12px 22px;
    font-size: 18px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 1400px) {
    .fs-grid {
        grid-template-columns: repeat(3, minmax(220px, 1fr));
    }
}

@@media (max-width: 992px) {
    .wizard-title {
        font-size: 34px;
    }

    .fs-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

        .fs-grid .span-2, .fs-grid .span-3, .fs-grid .span-4 {
            grid-column: span 1;
        }
}

@media (max-width: 600px) {
    .fs-grid {
        grid-template-columns: 1fr;
    }
}
/*end*/
/*Login*/
/*left panelfromhere */
/* Searchable Dropdown Wrapper */
/* Searchable Dropdown Wrapper */
.searchable-dropdown-wrapper {
    position: relative;
    width: 100%;
}

    /* Searchable Input */
    .searchable-dropdown-wrapper input.searchable-input {
        width: 100%;
        padding: 8px 30px 8px 12px;
        border: 1px solid #ced4da;
        border-radius: 0.375rem;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 0.75rem center;
        background-size: 16px 12px;
        cursor: pointer;
    }

        .searchable-dropdown-wrapper input.searchable-input:focus {
            border-color: #86b7fe;
            outline: 0;
            box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
        }

    .searchable-dropdown-wrapper input.multi-select {
        cursor: text;
    }

/* Dropdown List */
.searchable-dropdown-list {
    position: absolute;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 2px;
    padding: 0;
    list-style: none;
    display: none;
    z-index: 1000;
}

    /* List Items */
    .searchable-dropdown-list li {
        padding: 8px 12px;
        cursor: pointer;
        border-bottom: 1px solid #1a53ff;
        display: flex;
        align-items: center;
    }

        .searchable-dropdown-list li:last-child {
            border-bottom: none;
        }

        .searchable-dropdown-list li:hover,
        .searchable-dropdown-list li.active {
            background: #e9ecef;
        }

        /* Selected Items (Multi-select) */
        .searchable-dropdown-list li.selected {
            background: #1a53ff;
            font-weight: 500;
        }

            .searchable-dropdown-list li.selected:hover {
                background: #b8d9ff;
            }

    /* Checkbox */
/*    .searchable-dropdown-list input[type="checkbox"] {
        pointer-events: none;
        margin-right: 8px;
        accent-color: #0d6efd;
    }*/

    /* No Results */
    .searchable-dropdown-list li.no-results {
        color: #6c757d;
        cursor: default;
        text-align: center;
        justify-content: center;
        font-style: italic;
    }

        .searchable-dropdown-list li.no-results:hover {
            background: #fff;
        }

    /* Scrollbar */
    .searchable-dropdown-list::-webkit-scrollbar {
        width: 8px;
    }

    .searchable-dropdown-list::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .searchable-dropdown-list::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 4px;
    }

        .searchable-dropdown-list::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

#ticketCard {
    display: flex;
    height: 120vh;
    overflow: hidden;
}

    #ticketCard > :first-child {
        flex: 0 0 auto;
        width: 300px; /* Adjust width as needed */
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        position: sticky;
        top: 0;
        background: #fff;
        border-right: 1px solid #ddd;
    }

/* Right panel - Scrollable */
.right-panel {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
}

.dashboard {
    width: 100%;
}

.card-body{
    width:100%;
}

.container.full-width-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 20px;
    margin-top: 80px !important;
}


#personsContainer .person-card {
    border: 1px solid #e0e0e0;
    background: #fafafa;
    padding: 6px;
    font-weight: 700;
}

    #personsContainer .person-card .muted {
        font-size: 10px;
        font-weight: 700;
        margin-bottom: 4px;
    }

#personFormHolder .person-inline-form {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    background: #fff;
    padding: 8px;
    border: 1px solid #ddd;
    flex-wrap: wrap;
}

    #personFormHolder .person-inline-form .form-col {
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 160px;
    }

    #personFormHolder .person-inline-form input[type="text"],
    #personFormHolder .person-inline-form textarea {
        padding: 6px;
        border: 1px solid #ccc;
        font-weight: 700;
        font-size: 12px;
        background: #fff;
    }

.remove-person {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 4px 8px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 3px;
}

.save-person {
    background: #0f1445;
    color: #fff;
    border: none;
    padding: 6px 10px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 3px;
}

.cancel-person {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 6px 10px;
    font-weight: 800;
    cursor: pointer;
    border-radius: 3px;
}

/* bring add button to front and allow clicks */
.add-person, #addPersonBtn {
  position: relative;
  z-index: 1000;
  pointer-events: auto;
}

/* if overlay intentionally covers area but should be click-through */
.overlay-blocking {
  pointer-events: none; /* only if safe to do so */
}

@media print {
    body {
        background: white;
    }

    .card {
        box-shadow: none !important;
        border: none !important;
    }
}
