﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    font-family: "Inter", sans-serif !important;
}

.table th, .table td {
    font-family: "Inter", sans-serif !important;
}

.table thead th {
    color: #495057 !important;
    font-weight: 600 !important;
}

.table thead th {
    border-bottom: 1px solid #dfe3e7 !important;
    background: #f6f7f8 !important;
    padding: 1rem 25.5px !important;
}

thead, tbody, tfoot, tr, td, th {
    border-color: #EAECF0 !important;
}

.table td {
    color: #4a5a6bbf !important;
    font-size: 12px;
    font-weight: 500;
    padding: 1rem 25.5px !important;
}

.content .content-wrapper .content-header-title {
    font-size: 24px !important;
    color: #121212 !important;
    font-weight: 700;
    gap: 16px;
}

li, a, h1, h2, h3, h4, h5, h6, p, span {
    font-family: "Inter", sans-serif !important;
}


    a.navbar-brand {
        white-space: normal;
        text-align: center;
        word-break: break-all;
    }

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.btn-soft-danger {
    border-color: #0000;
    color: #f46a6a;
    transition: all .5s ease;
}

    .btn-soft-danger:hover {
        color: #f46a6a;
    }

    .btn-soft-danger i,
    .btn-soft-info i {
        font-size: 18px;
        width: 20px;
        height: 20px;
    }

.btn-soft-info {
    border-color: #0000;
    color: #556ee6;
    transition: all .5s ease;
}

    .btn-soft-info:hover {
        color: #556ee6;
    }

.dashboard-table.table.table-hover tbody tr:hover {
    background-color: #f8f9fa !important;
}

.card {
    border-radius: 16px !important;
    border: 1px solid #EAECF0 !important;
}

.content-top-header {
    padding-bottom: 18px;
}

.card-body {
    padding: 1.1rem 1.7rem !important;
}

.select2-container--classic .select2-selection--single, .select2-container--default .select2-selection--single {
    padding: 5px 12px !important;
}

.FileDocument,
.DocumentFiles {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px;
}

/* ======== New changes ========*/

.document-section {
    border: 1px solid #EAECF0 !important;
    border-radius: 8px;
}

.Physical-section {
    border: 1px solid #EAECF0 !important;
    border-radius: 8px;
}

.breadcrumb-item.active {
    color: #061123 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

.breadcrumb-wrapper .breadcrumb {
    background: transparent !important;
}

.breadcrumb-item a i {
    color: #061123 !important;
}

.AddButton {
    border: 1px solid #1d5da4 !important;
    background: linear-gradient(135deg, #091b33 0%, #0057b7 100%);
    transition: all 0.2s ease !important;
    color: #fff !important;
}

.btn {
    padding: 5px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    border-radius: 50px !important;
    line-height: 1.54rem !important;
}

.AddIcons {
    font-size: 16px !important;
}

.AddButton:hover, .AddButton.hover {
    background: linear-gradient(135deg, #091b33e8 0%, #0057b7e3 100%) !important;
    box-shadow: 0 4px 12px rgb(31 58 92 / 43%);
    transform: translateY(-1px);
}

.users-list-clear {
    border: 1px solid #e5e7eb;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 8px;
    padding: 7px 6px !important;
}

    .users-list-clear i {
        font-size: 24px;
        color: #7f7f7f;
    }

.content-header-title i {
    color: #061123 !important;
}

.SaveButton {
    background: #0057b7 !important;
    color: #fff !important;
    border: 1px solid #0057b7 !important;
}

.heading-title {
    color: #19222e;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.CloseBtn {
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #f1f5f9 !important;
}

    .CloseBtn:hover {
        background: #e2e8f0 !important;
    }

.ViolationPhotos {
    border: 1px solid #EAECF0 !important;
    border-radius: 8px;
}

.ViolationNotes {
    border-top-left-radius: 16px !important;
    background-color: rgb(242 242 242) !important;
    border-top-right-radius: 16px !important;
    border-bottom: 1px solid #EAECF0 !important;
    padding: 12px 16px !important;
}

.created_date {
    font-size: 14px;
    font-weight: 600;
    color: #121212;
}

.created_by span {
    font-size: 18px;
    color: #121212;
    font-weight: 600;
}

.created_by {
    display: flex;
    gap: 16px;
    align-items: center;
}

    .created_by i {
        font-size: 24px;
        color: #082447;
    }

.note_action {
    display: flex;
    align-items: center;
    gap: 8px;
}

.created_notes span {
    font-size: 16px;
    color: #121212;
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-header {
    font-size: 20px;
    color: #121212;
    font-weight: 600;
}

.AddNotes {
    background: #c67c38 !important;
    border: 1px solid #c67c38 !important;
    color: #fff !important;
}

#NotFound {
    width: 100%;
    display: flex;
    justify-content: center;
    font-weight: 600;
    color: #121212;
}

.AMCTabSidebar {
    position: sticky;
    top: 0px;
}


    .AMCTabSidebar .TabSidebar-items {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 12px 16px;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        border: 1px solid #dddddd00;
        border-left: 4px solid #fc8b1a00 !important;
    }


    .AMCTabSidebar .TabItems {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .AMCTabSidebar .tab-icon {
        width: 42px;
        height: 42px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.2s ease;
        background: #e6f0fa;
        color: #0057b7;
    }

.tab-text h3 {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 2px;
    word-break: break-word;
}

.AMCTabSidebar .tab .TabSidebar-items.active {
    background-color: #ffffff;
    transform: scaleY(1);
    border-left: 4px solid #fc8b1a !important;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.tab .TabSidebar-items.active .TabItems .tab-icon {
    background: #0057b7;
    color: #ffffff;
    transform: scale(1.05);
}

.TabTitle .nav-confirm {
    font-size: 18px;
    font-weight: 600;
    color: #121212;
}

.informationSection {
    border: 1px solid #EAECF0 !important;
    border-radius: 12px;
    background: #fff;
}

.PropertySection {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-footer > * {
    margin: 0rem .25rem 0rem .25rem !important;
}

.tagSelect {
    border-radius: 4px;
    padding: 0 5px;
    margin: 6px;
    background: #0057b7;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #FFF;
    border-color: #0057b7 !important;
    background-color: #0057b7 !important;
}

.custom-pager {
    min-height: 50px;
    padding: 15px 20.5px 0px;
    margin-bottom: 20px;
}

.Pager a {
    color: #4950579e !important;
}

.Pager span {
    border: 1px solid #0057b7;
    background-color: #0057b7 !important;
}

/* Custom table design */

.custom-height tbody {
    max-height: calc(100vh - 386px);
    display: block;
    min-height: 10vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.custom-height {
    width: 100% !important;
}

    .custom-height thead,
    .custom-height tbody tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }

.NotFound {
    width: 100%;
    display: flex;
    justify-content: center;
    font-weight: 600 !important;
    color: #121212 !important;
}

.DocumentCustomHeight {
    max-height: calc(100vh - 512px);
    overflow: auto;
    min-height: 7vh;
}

.openClassViolation {
    padding: 4px 8px;
    background: #0151aa;
    color: #fff;
    border-radius: 12px;
    font-size: 10.5px;
}

.closeClassViolation {
    padding: 4px 8px;
    background: #fc8b1a;
    color: #fff;
    border-radius: 12px;
    font-size: 10.5px;
}

.badge.badge-light-inactive {
    padding: 4px 8px;
    background-color: #d31508 !important;
    color: #fff !important;
    border-radius: 12px;
    font-size: 10.5px;
    line-height: 13px !important;
    text-transform: capitalize;
}


.badge.badge-light-success {
    padding: 4px 8px;
    background: #0151aa;
    color: #fff !important;
    border-radius: 12px;
    font-size: 10.5px;
    line-height: 13px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0057b7 !important;
}


@media only screen and (max-width:1000px) {
    .tab-text h3{
        display:none;
    }

    .AMCTabSidebar .TabItems{
        justify-content:center;
        gap:0
    }

    .AMCTabSidebar .CRsidebar-tab {
        width: 100%;
    }
    .AMCTabSidebar .TabSidebar-items {
        justify-content: center;
    }
    }
}

/*Message Box */

.fbMsgFooter {
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid #e4e6eb;
    background: #fff;
}

.fbfooterinput {
    flex: 1;
    background: #f0f2f5;
    border-radius: 20px;
    display: flex;
    align-items: center;
}

.fbMsgInput {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 14px;
    outline: none;
    resize: none;
    max-height: 80px;
    overflow-y: auto;
    color: #050505;
    font-family: inherit;
}

.fbSendBtn {
    width: 34px;
    height: 34px;
    border: none;
    background: none;
    cursor: default;
    border-radius: 50%;
    font-size: 20px;
    color: #bec3c9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fbMsgBody {
    height: 280px;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff;
}

.fbCloseMsgBtn {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    color: #1877f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fbMinimizeBtn {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    color: #1877f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fbMsgName {
    font-size: 15px;
    font-weight: 600;
    color: #050505;
    line-height: 1.3333;
    display: flex;
    align-items: center;
    gap: 4px;
}

.fbMsgAvatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.fbMsgHeader {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #E4E6EB;
    background: #FFFFFF;
    cursor: pointer;
    height: 48px;
}

.fb-chat-header-info {
    flex: 1;
    min-width: 0;
}



.fb-chat-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.fbMinimizeBtn,
.fbCloseMsgBtn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #65676B;
    font-size: 14px;
    transition: background 0.1s;
}

.fb-chat-header-status {
    font-size: 13px;
    color: #65676B;
    line-height: 1.2308;
}

.fb-chat-footer-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0057b7;
    font-size: 18px;
    transition: background 0.1s;
    flex-shrink: 0;
}

.fbMsgBox {
    position: fixed;
    z-index: 999999;
}

.conversation-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 8px;
    margin: 0 8px;
    transition: background .15s;
    gap: 10px;
}

    .conversation-item:hover {
        background: #f0f2f5;
    }

    .conversation-item.active {
        background: #e7f3ff;
    }

/* Container: stacks boxes left to right above sidebar */
#msgBoxesContainer {
    position: fixed;
    bottom: 0;
    right: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 12px;
    z-index: 100;
}

/* Sidebar hide class */
.panel-hidden {
    transform: translateX(100%);
    transition: transform .25s ease;
}

/* Minimized box hides body+footer */
.fbMsgBox.minimized .fbMsgBody,
.fbMsgBox.minimized .fbMsgFooter {
    display: none !important;
}


.TopBarMessanger-sidebar {
    position: fixed;
    top: 60px;
    right: 20px;
    width: 320px;
    height: calc(100vh - 70px);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s;
    z-index: 9999;
/*    max-height: calc(100vh - 70px);
    height: auto;*/
}

    .TopBarMessanger-sidebar.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }


    .sb-search input {
        width: 100%;
        border: none;
        outline: none;
        background: #f0f2f5;
        border-radius: 30px;
        padding: 0 14px;
    }

.conversation-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    cursor: pointer;
}

    .conversation-item:hover {
        background: #f5f5f5;
    }

    .conversation-item img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
    }

.fbMsgBox {
    width: 338px;
    height: 455px;
    background: #fff;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
    position: relative; /* IMPORTANT */
}

.fbMsgHeader {
    height: 52px;
    padding: 0 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fb-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fbMsgAvatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.fbMsgName {
    font-weight: 600;
    font-size: 14px;
}

.fb-status {
    font-size: 12px;
    color: #777;
}

.fb-actions {
    display: flex;
    gap: 8px;
}

    .fb-actions button {
        border: none;
        background: none;
        cursor: pointer;
        color: #a020f0;
        font-size: 16px;
    }



.fbMsgBody {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    background: #fff;
}


.message {
    max-width: 70%;
    padding: 10px 14px;
    border-radius: 18px;
    margin-bottom: 10px;
    font-size: 14px;
}

    .message.left {
        background: #f0f2f5;
    }

    .message.right {
        background: #7b2ff7;
        color: #fff;
        margin-left: auto;
    }

.fbMsgFooter {
    min-height: 42px;
    border-top: 1px solid #eee;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-icon {
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
}

.fbMsgInput {
    flex: 1;
    resize: none;
    border: none;
    outline: none;
    background: #f0f2f5;
    border-radius: 20px;
    padding: 10px 14px;
/*    height: 38px;*/
}

.fbSendBtn {
    border: none;
    background: #1877f2;
    color: #fff !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transform: rotate(318deg);
}

    .fbSendBtn:disabled {
        color: rgb(101, 103, 107) !important;
        background: #80808026 !important;
    }
    /* MINIMIZE */
    .fbMsgBox.minimized {
        height: 52px;
    }

    .fbMsgBox.minimized .fbMsgBody,
    .fbMsgBox.minimized .fbMsgFooter {
        display: none;
    }


@keyframes popup {

    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#conversationList {
    overflow-y: auto;
    height: auto;
    max-height: calc(100vh - 158px);
    border-top:none;
}


#AddEventModal .SaveButton {
    background: #0057b7 !important;
    color: #fff !important;
    border: 1px solid #0057b7 !important;
}

#AddEventModal .CloseBtn {
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #f1f5f9 !important;
}

#AddEventModal .select2-container--default .select2-selection--single, .form-control {
    border: 1px solid #c8cfd8;
}

#AddEventModal .form-control {
    padding: 5px 12px;
    font-size: 14px;
}

#AddEventModal .amc-form-title {
    font-size: 28px;
    font-weight: 500;
    color: #1a1710;
    letter-spacing: -0.3px;
    line-height: 1;
    margin-bottom: 8px;
}

#AddEventModal .amc-form-subtitle {
    color: #64748b;
    margin: 0;
    font-size: 14px;
}

#AddEventModal .amc-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

    #AddEventModal .amc-form-header .btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 12px !important;
        font-weight: 500 !important;
        border-radius: 30px !important;
        border: 1px solid #d9d1c4 !important;
        background: #ffffff;
        color: #5a5448;
        cursor: pointer;
        transition: all 0.18s ease;
        letter-spacing: 0.01em;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    }


#AddEventModal .amc-form-footer {
    display: flex;
    justify-content: end;
    align-items: center;
}

#AddEventModal .form-control:focus,
#AddEventModal .form-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,.12) !important;
}

#AddEventModal textarea.form-control {
    min-height: 120px;
}

#AddEventModal .btn {
    border-radius: 12px;
    font-weight: 500;
    padding: 10px 16px;
}

#AddEventModal .amc-fieldset {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
}

#AddEventModal .UploadText {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

#AddEventModal .amc-fieldset legend {
    width: auto;
    padding: 0 10px;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
}

#AddEventModal .amc-drop-zone {
    border: 1px dashed #fd8d15;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    background: #fff;
    transition: .2s ease;
}

    #AddEventModal .amc-drop-zone:hover {
        border-color: #fd8d15;
        background: #fd8d150a;
    }

    #AddEventModal .amc-drop-zone span {
        font-size: 14px;
        color: black;
    }

#AddEventModal .amc-browse {
    color: #f6891c;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
}


#AddEventModal .attachment-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

#AddEventModal .attachment-size {
    color: #64748b;
    font-size: 12px;
}

#AddEventModal label {
    padding: 0px 5px;
    color: #495057;
    text-transform: capitalize;
}

#AddEventModal html .content.app-content {
    overflow: hidden;
}

#AddEventModal .card {
    background: #ffffff;
    border: 1px solid #e2ddd5;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    transition: box-shadow .2s;
}

#AddEventModal .card-header {
    padding: 14px 22px 13px;
    border-bottom: 1px solid #e2ddd5;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f7f4;
    justify-content: start !important;
}

#AddEventModal .card-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: #f0ede7;
    border: 1px solid #e2ddd5;
    color: #b8860b;
    flex-shrink: 0;
}

#AddEventModal .card-title {
    font-size: 15px !important;
    text-transform: capitalize;
    color: #121212 !important;
    font-weight: 700 !important;
}

#AddEventModal .EventCard-Body {
    padding: 22px;
}

#AddEventModal .field-label-main {
    font-size: 13px;
    font-weight: 500;
    color: #141413;
}

#AddEventModal .reminder-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 5px;
    background: #fdf6e3;
    border: 1px solid #b8860b40;
    margin-bottom: 16px;
}

#AddEventModal .reminder-wrapper {
    width: 100%;
    border: 1px solid #dfe3eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    font-family: Arial, sans-serif;
}

/* HEADER */
#AddEventModal .reminder-header {
    display: grid;
    grid-template-columns: 1fr 80px 80px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    border-bottom: 1px solid #e5e7eb;
    background: #fafbfd;
    text-transform: uppercase;
}

/* ROW */
#AddEventModal .reminder-row {
    display: grid;
    grid-template-columns: 1fr 80px 80px;
    align-items: center;
    padding: 14px;
    border-bottom: 1px solid #edf1f5;
    transition: all .25s ease;
}

    #AddEventModal .reminder-row:hover {
        background: #f8fbff;
    }

#AddEventModal .offset-text {
    font-size: 14px;
    color: #121212;
    font-weight: 500 !important;
    font-family: 'Inter';
}

#AddEventModal .notice-text strong {
    color: #b8860b;
    font-weight: 600;
}

#AddEventModal .notice-text {
    font-size: 14px;
    color: #6b6355;
    line-height: 1.5;
}

#AddEventModal .notice-sub {
    font-size: 13px;
    color: #a09888;
    margin-top: 4px;
    line-height: 1.5;
}

/* CUSTOM CHECKBOX */
#AddEventModal .check-wrap {
    display: flex;
    justify-content: start;
    cursor: pointer;
    position: relative;
}

#AddEventModal div {
    font-family: 'inter'
}

#AddEventModal .check-wrap input {
    display: none;
}

#AddEventModal .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 5px;
    position: relative;
    transition: all .25s ease;
    background: #fff;
}

#AddEventModal .check-wrap input:checked + .checkmark {
    background: #2563eb;
    border-color: #2563eb;
}

    #AddEventModal .check-wrap input:checked + .checkmark::after {
        content: '';
        position: absolute;
        left: 5px;
        top: 1px;
        width: 4px;
        height: 8px;
        border: solid #fff;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

/* CUSTOM OFFSET */
#AddEventModal .custom-offset {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px;
    flex-wrap: wrap;
}

#AddEventModal .custom-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
}

#AddEventModal .custom-offset input,
#AddEventModal .custom-offset select {
    height: 38px;
    border: 1px solid #d7dce5;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    transition: all .25s ease;
}

#AddEventModal .custom-offset input {
    width: 90px;
}

    #AddEventModal .custom-offset input:focus,
    #AddEventModal .custom-offset select:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37,99,235,.1);
    }

#AddEventModal .before-text {
    color: #64748b;
    font-size: 14px;
}


#AddEventModal .custom-offset button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(37,99,235,.2);
}

#AddEventModal .attach-list {
    min-height: 44px;
    background: #f8f7f4;
    border: 1px solid #e2ddd5;
    border-radius: 8px;
    padding: 11px 13px;
    font-size: 12px;
    color: #a09888;
    margin-bottom: 10px;
}

#AddEventModal .file-item {
    position: relative;
    margin-bottom: 15px;
    border-radius: 10px;
    padding: 12px;
}

#AddEventModal .preview-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
}

#AddEventModal .doc-box {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    background: #f3f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

#AddEventModal .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: red;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

#AddEventModal .image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

    #AddEventModal .image-modal img {
        max-width: 90%;
        max-height: 90vh;
        border-radius: 12px;
    }

#AddEventModal .close-preview {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
}

#AddEventModal .preview-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}


#AddEventModal .event-sidebar {
    border: 1px solid #eaecf0;
    border-radius: 16px;
}

#AddEventModal .calendar-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

#AddEventModal .calendar-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

    #AddEventModal .calendar-title h2 {
        margin: 0;
        font-size: 28px;
        font-weight: 700;
        color: #0f172a;
    }

    #AddEventModal .calendar-title span {
        color: #64748b;
        font-size: 14px;
    }

#AddEventModal .calendar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

    #AddEventModal .calendar-actions .btn {
        border-radius: 12px;
        padding: 10px 16px;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

#AddEventModal .calendar-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

#AddEventModal .calendar-filter-label {
    font-size: 10px;
    font-weight: 600;
    color: #a89f92;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-right: 4px;
    flex-shrink: 0;
}

#AddEventModal .calendar-chip {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 3px;
    border: 1.5px solid;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .03em;
    transition: all .2s;
    user-select: none;
}

    #AddEventModal .calendar-chip:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(15,23,42,.08);
    }

#AddEventModal .calendar-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

#AddEventModal .calendar-chip-count {
    border-radius: 999px;
    font-size: 11px;
}


#AddEventModal .fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: 22px;
}

#AddEventModal .fc-theme-standard td,
#AddEventModal .fc-theme-standard th {
    border-color: #e5e7eb;
}

#AddEventModal .fc .fc-daygrid-day-number {
    color: #051a35;
    font-weight: 500;
    text-decoration: none;
}

#AddEventModal .fc-col-header-cell-cushion {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 0;
}

#AddEventModal .fc-event {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 500;
    margin-top: 3px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: all 0.15s ease;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
}

#AddEventModal .fc .fc-daygrid-day-frame {
    padding: 10px 10px 9px;
    cursor: pointer;
    transition: background 0.12s;
}

#AddEventModal .fc-event:hover {
    opacity: .92;
}

#AddEventModal .calendar-legend {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 18px;
}

#AddEventModal .calendar-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #475569;
}

#AddEventModal .calendar-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

#AddEventModal .brand-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #eef1f9;
    border: 1px solid #c5d0ea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #3d5a99;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

#AddEventModal .brand-text h2 {
    font-size: 28px;
    font-weight: 500;
    color: #1a1710;
    letter-spacing: -0.3px;
    line-height: 1;
}

#AddEventModal .brand-text p {
    font-size: 11px;
    color: #a89f92;
    margin-top: 4px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0;
}
 
#AddEventModal .calendar-actions .topaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 30px !important;
    border: 1px solid #d9d1c4 !important;
    background: #ffffff;
    color: #5a5448 !important;
    cursor: pointer;
    transition: all 0.18s ease;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
} 

#AddEventModal .topaction-btn i {
    top: 0 !important;
}

#AddEventModal .cal-card {
    background: #ffffff;
    border: 1px solid #eaecf0;
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    transition: width .45s cubic-bezier(.22,1,.36,1), transform .45s cubic-bezier(.22,1,.36,1);
}

#AddEventModal .fc-toolbar-chunk .fc-prev-button.fc-button,
#AddEventModal .fc-toolbar-chunk .fc-next-button.fc-button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #d9d1c4;
    background: #ffffff;
    padding: 0.3em 0.2em;
    color: #5a5448;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.15s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

#AddEventModal .fc-toolbar-chunk .fc-button .fc-icon {
    font-size: 15px !important;
}

#AddEventModal .fc-toolbar-chunk .fc-today-button {
    font-size: 11px;
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid #d9d1c4;
    background: #fff;
    color: #5a5448;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: all 0.15s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

#AddEventModal .fc-toolbar-chunk .fc-toolbar-title {
    font-size: 28px;
    font-weight: 500;
    color: #1a1710;
    letter-spacing: -0.3px;
}

#AddEventModal .fc-media-screen .fc-toolbar-chunk .fc-button-group {
    display: flex;
    background: #faf8f4;
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
    border: 1px solid #e8e2d8;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

#AddEventModal .fc-button-group .fc-button.fc-button-active {
    background: #054784 !important;
    color: #fff;
    box-shadow: 0 2px 8px rgba(61, 90, 153, 0.25);
}

#AddEventModal .fc-button-group .fc-button {
    font-size: 11px;
    font-weight: 500;
    padding: 6px 15px;
    border-radius: 16px !important;
    border: none;
    background: transparent;
    color: #a89f92;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: all 0.15s ease;
}

#AddEventModal .fc .fc-button-primary:not(:disabled).fc-button-active:focus,
#AddEventModal .fc .fc-button-primary:not(:disabled):active:focus {
    box-shadow: #0056b61a 0px 0px 0px 0.2rem;
}

#AddEventModal .fc .fc-button-primary:hover {
    background: #004ba5;
    color: #fff;
}

#AddEventModal .fc-col-header .fc-col-header-cell .fc-scrollgrid-sync-inner {
    background: #faf8f4;
    padding: 11px 8px 10px;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a89f92;
}

    #AddEventModal .fc-col-header .fc-col-header-cell .fc-scrollgrid-sync-inner .fc-col-header-cell-cushion {
        color: #a89f92 !important
    }

#AddEventModal .fc-day-other {
    background: #faf8f4;
}

#AddEventModal .fc-day-today .fc-daygrid-day-number {
    background: #3d5a99;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(61, 90, 153, 0.3);
}

#AddEventModal .fc-daygrid-day-number {
    font-size: 12px;
    font-weight: 500;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 4px;
    transition: all 0.15s;
}

/* MAIN LAYOUT */
#AddEventModal .calendar-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

/* LEFT SIDE */
#AddEventModal .cal-card {
    flex: 1;
    min-width: 0;
}

    /* SHRINK CALENDAR */
    #AddEventModal .cal-card.shrink {
        flex: 0 0 calc(100% - 380px);
        transform: translateX(0px);
    }

#AddEventModal .event-sidebar {
    position: absolute;
    /* top: 0; */
    right: 0;
    width: 380px;
    height: 100%;
    background: #fff;
    border-left: 1px solid #edf0f7;
    /* HIDE */
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .45s cubic-bezier(.22,1,.36,1), opacity .35s ease, visibility .35s;
    box-shadow: -8px 0 30px rgba(15,23,42,.08);
    z-index: 20;
}

    /* OPEN */
    #AddEventModal .event-sidebar.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    /* HIDE SIDEBAR SPACE */
    #AddEventModal .event-sidebar:not(.active) {
        width: 0;
        min-width: 0;
        padding: 0;
        border: none;
        box-shadow: none;
    }

/* CALENDAR SMOOTH */
#AddEventModal .fc {
    transition: all .4s ease;
}

/* HEADER */
#AddEventModal .event-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px 20px 0;
}

/* BODY */
#AddEventModal .event-sidebar-body {
    padding: 0 20px 20px;
}

/* CLOSE BUTTON */
#AddEventModal #closeSidebar {
    border: none;
    background: #f3f4f6;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    transition: .2s;
}

#AddEventModal .event-top {
    padding: 20px 22px 16px;
    border-bottom: 1px solid #e8e0ce;
    flex-shrink: 0;
}

#AddEventModal .event-cat-badge {
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 2px;
    margin-bottom: 10px;
    border: 1.5px solid;
}

#AddEventModal .event-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: #1a1208;
    letter-spacing: -.02em;
}

#AddEventModal .event-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--warm);
    background: transparent;
    color: var(--mist);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}

#AddEventModal .event-body {
    padding: 18px 22px;
    flex: 1;
    overflow-y: auto;
}

#AddEventModal .event-row {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}

#AddEventModal .event-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 1px;
    background: var(--cream);
}

#AddEventModal .event-field {
    flex: 1;
}

#AddEventModal .event-field-label {
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #7a8a9a;
    margin-bottom: 3px;
}

#AddEventModal .event-field-val {
    font-size: 13px;
    color: #1a1208;
    line-height: 1.45;
}

#AddEventModal .event-divider {
    height: 1px;
    background: #e8e0ce;
    margin: 16px 0;
}

#AddEventModal .event-desc {
    font-size: 13px;
    color: #3a4a5a;
    line-height: 1.7;
    margin-bottom: 10px;
}

#AddEventModal .event-cal-section {
    margin-top: 18px;
}

#AddEventModal .event-cal-label {
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #7a8a9a;
    margin-bottom: 10px;
}

#AddEventModal .event-cal-btns {
    display: flex;
    gap: 6px;
}

#AddEventModal .event-cal-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 4px;
    border: 1.5px solid #e8e0ce;
    background: #ede8dc;
    color: #1a1208;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all .2s;
    text-align: left;
}

#AddEventModal .btn-icon {
    font-size: 15px;
    transition: color .2s;
}

#AddEventModal .event-note {
    font-size: 10px;
    color: var(--mist);
    line-height: 1.5;
    margin-top: 10px;
    font-family: 'DM Mono',monospace;
}

#AddEventModal .calendar-wrapper {
    flex: 1;
    min-width: 0;
    transition: all .4s ease;
}

    #AddEventModal .calendar-wrapper.shrink {
        transform: translateX(-8px);
    }

#AddEventModal .calendar-actions .btn-primary {
    background: #054784 !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(61, 90, 153, 0.25);
}

#AddEventModal .calendar-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 30px !important;
    border: 1px solid #d9d1c4 !important;
    background: #ffffff;
    color: #5a5448;
    cursor: pointer;
    transition: all 0.18s ease;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

#AddEventModal .file-item {
    width: 140px;
    border: 1px solid #ddd !important;
    border-radius: 12px;
    padding: 10px !important;
    position: relative;
    background: #fff;
}

#AddEventModal .preview-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
}

#AddEventModal .doc-box {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    background: #f3f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

#AddEventModal .remove-btn {
    position: absolute;
    top: -12px;
    right: -6px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: red;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
}

#AddEventModal .image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

    #AddEventModal .image-modal img {
        max-width: 90%;
        max-height: 90vh;
        border-radius: 12px;
    }

#AddEventModal .close-preview {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 45px;
    cursor: pointer;
}
.privacy-policy {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.7;
}

    .privacy-policy a {
        color: #ff8c1a;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.2s ease;
    }

        .privacy-policy a:hover {
            color: #0d6efd;
            text-decoration: underline;
        }

.business-name {
    font-size: 12px;
    color: #9aa0a6;
    font-weight: 500;
    letter-spacing: 0.3px;
}

