/* DinoTry Planner 1*/

* {
    box-sizing: border-box;
}

body.dtp-app {
    margin: 0;
    background: #f6f7f9;
    color: #202124;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.dtp-layout {
    min-height: 100vh;
    display: flex;
}

/* WORKSPACE SWITCHER */

body.dtp-app .dtp-workspace-wrapper {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

body.dtp-app .dtp-workspace {
    border: 0;
    background: transparent;
    padding: 9px 11px;
    margin: 0;
    border-radius: 9px;

    display: flex;
    align-items: center;
    gap: 9px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
    color: #202124;
}

body.dtp-app .dtp-workspace:hover {
    background: #f3f4f6;
}


/* DROPDOWN */

body.dtp-app .dtp-workspace-menu {
    display: none !important;

    position: absolute !important;

    top: calc(100% + 8px) !important;
    left: 0 !important;

    width: 240px !important;
    min-width: 240px !important;

    margin: 0 !important;
    padding: 8px !important;

    background: #ffffff !important;

    border: 1px solid #e4e5e8 !important;
    border-radius: 12px !important;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.12) !important;

    z-index: 999999 !important;
}

body.dtp-app .dtp-workspace-menu.open {
    display: block !important;
}


/* TITLE */

body.dtp-app .dtp-workspace-menu-title {
    display: block;

    padding: 9px 11px;

    font-size: 11px;
    line-height: 1.4;

    text-transform: uppercase;
    letter-spacing: 0.08em;

    color: #92959b;
    font-weight: 600;
}


/* WORKSPACE OPTIONS */

body.dtp-app .dtp-workspace-menu a {
    display: flex !important;

    width: 100% !important;

    align-items: center !important;

    gap: 10px !important;

    padding: 11px !important;
    margin: 0 !important;

    border-radius: 8px !important;

    text-decoration: none !important;

    color: #55585e !important;

    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

body.dtp-app .dtp-workspace-menu a:hover {
    background: #f5f5f6 !important;
    color: #111 !important;
}

body.dtp-app .dtp-workspace-menu a.selected {
    background: #f0f0f1 !important;
    color: #111 !important;
    font-weight: 600 !important;
}

body.dtp-app .dtp-workspace-name {
    flex: 1;
}

body.dtp-app .dtp-check {
    font-weight: 700;
}

/* SIDEBAR */

.dtp-sidebar {
    width: 250px;
    background: #ffffff;
    border-right: 1px solid #e7e8eb;
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    position: fixed;
    inset: 0 auto 0 0;
}

.dtp-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 4px 10px 28px;
}

.dtp-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #171717;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.dtp-logo strong {
    display: block;
    font-size: 16px;
}

.dtp-logo span {
    display: block;
    color: #8a8d93;
    font-size: 12px;
    margin-top: 2px;
}


/* NAV */

.dtp-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dtp-nav a,
.dtp-sidebar-bottom a {
    text-decoration: none;
    color: #656970;
    padding: 11px 12px;
    border-radius: 9px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 14px;
}

.dtp-nav a:hover,
.dtp-sidebar-bottom a:hover {
    background: #f3f4f6;
    color: #171717;
}

.dtp-nav a.active {
    background: #eeeeef;
    color: #111;
    font-weight: 600;
}

.dtp-nav span {
    width: 20px;
    text-align: center;
}

.dtp-sidebar-bottom {
    margin-top: auto;
}


/* MAIN */

.dtp-main {
    margin-left: 250px;
    width: calc(100% - 250px);
}


/* HEADER */

.dtp-header {
    height: 72px;
    background: #ffffff;
    border-bottom: 1px solid #e7e8eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 34px;
}


.dtp-workspace-icon {
    font-size: 18px;
}

.dtp-chevron {
    color: #999;
    margin-left: 3px;
}

.dtp-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.dtp-notification {
    margin-right: 10px;
    cursor: pointer;
}

.dtp-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e9eaed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}


/* CONTENT */



.dtp-welcome {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}

.dtp-welcome h1 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.5px;
}

.dtp-welcome p {
    margin: 8px 0 0;
    color: #777b82;
}

.dtp-date {
    color: #777b82;
    font-size: 14px;
}


/* STATS */

.dtp-stats {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 22px;
}

.dtp-card {

background:#ffffff;
border:1px solid #e7e8eb;
border-radius:18px;
padding:28px;

}

.dtp-card-label {
    display: block;
    color: #777b82;
    font-size: 13px;
    margin-bottom: 12px;
}

.dtp-card strong {
    display: block;
    font-size: 30px;
    margin-bottom: 7px;
}

.dtp-card small {
    color: #90939a;
}


/* PANELS */

.dtp-grid {
    display: grid;
    grid-template-columns:
        1.4fr 1fr;
    gap: 22px;
}


.dtp-panel-header {
    padding: 20px 22px;
    border-bottom: 1px solid #eeeeef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dtp-panel-header h2 {
    margin: 0;
    font-size: 16px;
}

.dtp-panel-header button {
    border: 0;
    background: transparent;
    color: #666;
    cursor: pointer;
}

.dtp-empty {
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.dtp-empty > div {
    font-size: 24px;
    margin-bottom: 12px;
}

.dtp-empty strong {
    font-size: 15px;
}

.dtp-empty p {
    color: #8b8e94;
    font-size: 13px;
    max-width: 280px;
    line-height: 1.5;
}


/* MOBILE */

@media (max-width: 800px) {

    .dtp-sidebar {
        width: 70px;
        padding: 20px 8px;
    }

    .dtp-logo > div:last-child,
    .dtp-nav a:not(.active) {
        display: none;
    }

    .dtp-main {
        margin-left: 70px;
        width: calc(100% - 70px);
    }

    .dtp-content {
        padding: 22px;
    }

    .dtp-stats,
    .dtp-grid {
        grid-template-columns: 1fr;
    }

    .dtp-welcome {
        display: block;
    }

    .dtp-date {
        margin-top: 10px;
    }
}

/* PRIMARY BUTTON */

.dtp-primary-button {
    border: 0;
    background: #171717;
    color: #ffffff;

    padding: 11px 16px;

    border-radius: 9px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

.dtp-primary-button:hover {
    opacity: 0.88;
}


/* SECONDARY BUTTON */

.dtp-secondary-button {
    border: 1px solid #dedfe2;
    background: #ffffff;
    color: #44474d;

    padding: 11px 16px;

    border-radius: 9px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

/* =================================
   MILESTONE MODAL
================================= */

body.dtp-app .dtp-modal {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999999 !important;
}

body.dtp-app .dtp-modal.open {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.dtp-app .dtp-modal-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.45) !important;
}

body.dtp-app .dtp-modal-box {
    position: relative !important;
    z-index: 2 !important;

    width: min(620px, calc(100% - 30px)) !important;
    max-height: calc(100vh - 40px) !important;

    overflow-y: auto !important;

    background: #ffffff !important;
    border: 1px solid #e7e8eb !important;
    border-radius: 16px !important;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.20) !important;

    padding: 0 !important;
    margin: 0 !important;
}


/* MODAL HEADER */

body.dtp-app .dtp-modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;

    padding: 24px 26px !important;

    border-bottom: 1px solid #eeeeef !important;
}

body.dtp-app .dtp-modal-header h2 {
    margin: 0 !important;
    padding: 0 !important;

    font-size: 21px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;

    color: #202124 !important;
}

body.dtp-app .dtp-modal-close {
    border: 0 !important;
    background: transparent !important;

    padding: 4px !important;
    margin: 0 !important;

    font-size: 27px !important;
    line-height: 1 !important;

    color: #888 !important;

    cursor: pointer !important;
}


/* MILESTONE FORM */

body.dtp-app #dtp-milestone-form {
    display: flex !important;
    flex-direction: column !important;

    padding: 26px !important;
    margin: 0 !important;
}

body.dtp-app #dtp-milestone-form .dtp-form-group {
    display: flex !important;
    flex-direction: column !important;

    gap: 7px !important;

    margin: 0 0 18px !important;
    padding: 0 !important;
}

body.dtp-app #dtp-milestone-form .dtp-form-group label {
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 13px !important;
    font-weight: 600 !important;

    color: #44474d !important;
}

body.dtp-app #dtp-milestone-form input,
body.dtp-app #dtp-milestone-form textarea,
body.dtp-app #dtp-milestone-form select {
    display: block !important;

    width: 100% !important;
    max-width: 100% !important;

    box-sizing: border-box !important;

    border: 1px solid #dfe1e5 !important;
    border-radius: 8px !important;

    padding: 11px 12px !important;
    margin: 0 !important;

    background: #ffffff !important;

    color: #202124 !important;

    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.4 !important;

    outline: none !important;
}

body.dtp-app #dtp-milestone-form input:focus,
body.dtp-app #dtp-milestone-form textarea:focus,
body.dtp-app #dtp-milestone-form select:focus {
    border-color: #999 !important;
    box-shadow: none !important;
}

body.dtp-app #dtp-milestone-form textarea {
    min-height: 100px !important;
    resize: vertical !important;
}


/* MODAL ACTIONS */

body.dtp-app .dtp-modal-actions {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;

    gap: 10px !important;

    margin-top: 6px !important;
    padding: 0 !important;
}

body.dtp-app .dtp-modal-actions button {
    width: auto !important;

    margin: 0 !important;

    cursor: pointer !important;
}

body.dtp-app .dtp-modal-actions .dtp-secondary-button {
    border: 1px solid #dedfe2 !important;
    background: #ffffff !important;
    color: #44474d !important;

    padding: 11px 16px !important;
    border-radius: 9px !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

body.dtp-app .dtp-modal-actions .dtp-primary-button {
    border: 0 !important;
    background: #171717 !important;
    color: #ffffff !important;

    padding: 11px 16px !important;
    border-radius: 9px !important;

    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}


/* MOBILE */

@media (max-width: 600px) {

    body.dtp-app .dtp-modal-box {
        width: calc(100% - 20px) !important;
        max-height: calc(100vh - 20px) !important;
        border-radius: 14px !important;
    }

    body.dtp-app .dtp-modal-header {
        padding: 20px !important;
    }

    body.dtp-app #dtp-milestone-form {
        padding: 20px !important;
    }

    body.dtp-app .dtp-modal-actions {
        flex-direction: column-reverse !important;
        align-items: stretch !important;
    }

    body.dtp-app .dtp-modal-actions button {
        width: 100% !important;
    }
}


/* MODAL HEADER */

.dtp-modal-header {
    padding: 24px 26px;

    border-bottom: 1px solid #eeeeef;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;
}

.dtp-modal-header h2 {
    margin: 0;

    font-size: 21px;
}

.dtp-modal-header p {
    margin: 6px 0 0;

    color: #858990;

    font-size: 13px;
}

.dtp-modal-close {
    border: 0;

    background: transparent;

    font-size: 27px;

    line-height: 1;

    color: #888;

    cursor: pointer;
}


/* FORM */

#dtp-wedding-form {
    padding: 26px;
}

.dtp-form-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;
}

.dtp-form-full {
    grid-column: 1 / -1;
}

.dtp-form-group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.dtp-form-group label {
    font-size: 13px;

    font-weight: 600;

    color: #44474d;
}

.dtp-form-group input,
.dtp-form-group textarea {
    width: 100%;

    border: 1px solid #dfe1e5;

    border-radius: 8px;

    padding: 11px 12px;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    background: #ffffff;
}

.dtp-form-group input:focus,
.dtp-form-group textarea:focus {
    border-color: #999;
}

.dtp-form-group textarea {
    resize: vertical;
}


/* FOOTER */

.dtp-modal-footer {
    display: flex;

    justify-content: flex-end;

    gap: 10px;

    padding-top: 24px;
}


/* MOBILE */

@media (max-width: 600px) {

    .dtp-form-grid {
        grid-template-columns: 1fr;
    }

    .dtp-form-full {
        grid-column: auto;
    }

}
/* =========================================
   WEDDINGS LIST
========================================= */

.dtp-weddings-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(
        auto-fill,
        minmax(360px, 1fr)
    );
    gap: 20px;
}


/* =========================================
   WEDDING CARD
========================================= */

body.dtp-app a.dtp-wedding-card {
    display: flex !important;

    width: 100% !important;
    min-height: 170px;

    padding: 24px !important;

    background: #ffffff !important;

    border: 1px solid #e7e8eb !important;
    border-radius: 16px !important;

    color: #202124 !important;
    text-decoration: none !important;

    justify-content: space-between;
    align-items: flex-start;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}


/* =========================================
   CARD HOVER
========================================= */

body.dtp-app a.dtp-wedding-card:hover {
    background: #ffffff !important;

    border-color: #d5d6da !important;

    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.07);

    color: #202124 !important;
}


/* =========================================
   LEFT CONTENT
========================================= */

.dtp-wedding-card > div:first-child {
    min-width: 0;
    flex: 1;
}


/* =========================================
   WEDDING NAME
========================================= */

.dtp-wedding-card h2 {
    margin: 0 0 14px !important;

    padding: 0 !important;

    font-size: 20px !important;
    line-height: 1.3 !important;

    font-weight: 650 !important;

    color: #202124 !important;

    letter-spacing: -0.2px;
}


/* =========================================
   WEDDING INFO
========================================= */

.dtp-wedding-info {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    color: #777b82 !important;

    font-size: 14px;

    line-height: 1.5;
}


/* =========================================
   RIGHT SIDE
========================================= */

.dtp-wedding-card > div:last-child {
    flex-shrink: 0;

    margin-left: 24px;
}


/* =========================================
   STATUS
========================================= */

.dtp-wedding-card .dtp-status {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 7px 11px;

    border-radius: 999px;

    background: #f1f2f4 !important;

    color: #55585e !important;

    font-size: 12px;

    font-weight: 600;

    white-space: nowrap;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .dtp-weddings-list {
        grid-template-columns: 1fr;
    }

    body.dtp-app a.dtp-wedding-card {
        min-height: 150px;

        padding: 20px !important;
    }

    .dtp-wedding-card h2 {
        font-size: 18px !important;
    }

    .dtp-wedding-card > div:last-child {
        margin-left: 12px;
    }

}

/* =========================================
   SINGLE WEDDING PAGE
========================================= */


.dtp-content {
    max-width: 1400px;
    margin: auto;
    padding: 40px;
}


/* HEADER */

.dtp-wedding-header {

    background:#fff;

    border:1px solid #e7e8eb;

    border-radius:20px;

    padding:32px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:25px;

}


.dtp-wedding-header h1 {

    margin:0;

    font-size:34px;

    letter-spacing:-0.5px;

}


.dtp-wedding-header p {

    margin:8px 0 0;

    color:#777;

}


/* STATUS */

.dtp-status {

    background:#f1f2f4;

    color:#444;

    padding:8px 15px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

}


/* INFO CARDS */


.dtp-single-grid {

    display:grid;

    grid-template-columns:
    repeat(4,1fr);

    gap:20px;

}


.dtp-card {

    background:white;

    border:1px solid #e7e8eb;

    border-radius:18px;

    padding:26px;

    min-height:150px;

    display:flex;

    flex-direction:column;

    justify-content:center;

}


.dtp-card-label {

    color:#8a8d93;

    font-size:12px;

    text-transform:uppercase;

    letter-spacing:.08em;

    margin-bottom:15px;

}


.dtp-card h3 {

    margin:0;

    font-size:22px;

    font-weight:600;

    color:#202124;

}



/* PANELS */


.dtp-panel {

    background:white;

    border:1px solid #e7e8eb;

    border-radius:18px;

    padding:28px;

}


.dtp-panel h2 {

    margin-top:0;

    font-size:20px;

}


.dtp-panel p {

    color:#777;

    line-height:1.6;

}



/* MOBILE */


@media(max-width:900px){

    .dtp-single-grid{

        grid-template-columns:1fr;

    }


    .dtp-content{

        padding:20px;

    }


    .dtp-wedding-header{

        display:block;

    }


    .dtp-status{

        display:inline-block;

        margin-top:15px;

    }

}

/* =================================
   WEDDING WORKSPACE NAV
================================= */


.dtp-back-link {

    display:inline-block;

    margin-bottom:25px;

    color:#666;

    text-decoration:none;

    font-size:14px;

}


.dtp-back-link:hover {

    color:#111;

}



.dtp-wedding-nav {

    display:flex;

    gap:8px;

    background:#ffffff;

    border:1px solid #e7e8eb;

    padding:8px;

    border-radius:14px;

    margin-bottom:30px;

}



.dtp-wedding-nav a {

    padding:10px 16px;

    border-radius:9px;

    text-decoration:none;

    color:#666;

    font-size:14px;

    font-weight:500;

}



.dtp-wedding-nav a:hover {

    background:#f3f4f6;

    color:#111;

}



.dtp-wedding-nav a.active {

    background:#171717;

    color:#ffffff;

}


@media(max-width:800px){

    .dtp-wedding-nav {

        overflow-x:auto;

    }

}

.dtp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.dtp-section-header h2 {
    margin: 0;
    font-size: 20px;
}

/* =================================
   TIMELINE
================================= */

.dtp-section-card {
    background: #ffffff;
    border: 1px solid #e7e8eb;
    border-radius: 18px;
    padding: 28px;
}

.dtp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.dtp-section-header h2 {
    margin: 0;
    font-size: 20px;
}

.dtp-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dtp-timeline-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.dtp-timeline-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #171717;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.dtp-timeline-content h3 {
    margin: 0;
    font-size: 16px;
}

.dtp-timeline-content p {
    margin: 5px 0;
    color: #777b82;
    font-size: 13px;
}

.dtp-timeline-content span {
    color: #55585e;
    font-size: 14px;
}

/* =========================================
   TASKS PAGE
========================================= */

body.dtp-app .dtp-tasks-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
}


/* HEADER */

body.dtp-app .dtp-tasks-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

body.dtp-app .dtp-tasks-header h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 600;
    color: #202124;
}

body.dtp-app .dtp-tasks-header p {
    margin: 8px 0 0;
    color: #777b82;
    font-size: 14px;
}


/* MAIN PANEL */

body.dtp-app .dtp-tasks-panel {
    background: #ffffff;
    border: 1px solid #e7e8eb;
    border-radius: 18px;
    padding: 28px;
}

body.dtp-app .dtp-tasks-panel-header {
    margin-bottom: 25px;
}

body.dtp-app .dtp-tasks-panel-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #202124;
}

body.dtp-app .dtp-tasks-panel-header p {
    margin: 6px 0 0;
    color: #888;
    font-size: 14px;
}


/* EMPTY STATE */

body.dtp-app .dtp-tasks-empty {
    min-height: 250px;
    padding: 50px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    border: 1px dashed #dedfe2;
    border-radius: 12px;
}

body.dtp-app .dtp-tasks-empty h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 600;
    color: #202124;
}

body.dtp-app .dtp-tasks-empty p {
    margin: 0 0 20px;
    color: #888;
    font-size: 14px;
}


/* TASK LIST */

body.dtp-app .dtp-tasks-list {
    display: flex;
    flex-direction: column;
}

body.dtp-app .dtp-task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
    padding: 18px 0;

    border-bottom: 1px solid #eeeeef;
}

body.dtp-app .dtp-task-item:last-child {
    border-bottom: 0;
}

body.dtp-app .dtp-task-main {
    min-width: 0;
}

body.dtp-app .dtp-task-main h3 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 600;
    color: #202124;
}

body.dtp-app .dtp-task-main p {
    margin: 0;
    color: #888;
    font-size: 13px;
}

body.dtp-app .dtp-task-meta {
    flex-shrink: 0;
}

body.dtp-app .dtp-task-status {
    display: inline-flex;
    align-items: center;

    padding: 6px 11px;

    border-radius: 999px;

    background: #f1f2f4;
    color: #55585e;

    font-size: 12px;
    font-weight: 600;
}


/* TASK MODAL */

body.dtp-app #dtp-task-modal {
    display: none;
    position: fixed;
    inset: 0;

    z-index: 999999;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.45);
}

body.dtp-app #dtp-task-modal.open {
    display: flex;
}

body.dtp-app #dtp-task-modal .dtp-modal-content {
    position: relative;

    width: min(620px, calc(100% - 30px));
    max-height: calc(100vh - 40px);

    overflow-y: auto;

    background: #ffffff;

    border: 1px solid #e7e8eb;
    border-radius: 16px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.20);

    padding: 26px;
}

body.dtp-app #dtp-task-modal .dtp-modal-content h2 {
    margin: 0 0 25px;

    font-size: 21px;
    font-weight: 600;
    color: #202124;
}


/* =========================================================
   TASKS PAGE
   ========================================================= */

body.dtp-app .dtp-tasks-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px;
}


/* HEADER */

body.dtp-app .dtp-tasks-header {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
}
.dtp-budget-header {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
}


.dtp-budget-header h1 {
   margin: 0;
    font-size: 28px;
    font-weight: 700;
}

body.dtp-app .dtp-tasks-header h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
}

body.dtp-app .dtp-tasks-header p {
    margin: 7px 0 0;
    color: #888;
    font-size: 14px;
}


/* TASK PANEL */

body.dtp-app .dtp-tasks-panel {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 28px;
}

body.dtp-app .dtp-tasks-panel-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

body.dtp-app .dtp-tasks-panel-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

body.dtp-app .dtp-tasks-panel-header p {
    margin: 6px 0 0;
    color: #888;
    font-size: 14px;
}


/* EMPTY STATE */

body.dtp-app .dtp-tasks-empty {
    padding: 55px 20px;
    text-align: center;
}

body.dtp-app .dtp-tasks-empty h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

body.dtp-app .dtp-tasks-empty p {
    margin: 0 0 20px;
    color: #888;
    font-size: 14px;
}


/* TASK LIST */

body.dtp-app .dtp-tasks-list {
    display: flex;
    flex-direction: column;
}

body.dtp-app .dtp-task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 18px 0;

    border-bottom: 1px solid #eeeeef;
}

body.dtp-app .dtp-task-item:last-child {
    border-bottom: 0;
}

body.dtp-app .dtp-task-main {
    min-width: 0;
    flex: 1;
}

body.dtp-app .dtp-task-main h3 {
    margin: 0 0 5px;

    font-size: 15px;
    font-weight: 600;

    color: #202124;
}

body.dtp-app .dtp-task-main p {
    margin: 0;

    color: #888;
    font-size: 13px;
}


/* TASK META */

body.dtp-app .dtp-task-meta {
    display: flex;
    align-items: center;
    gap: 8px;

    flex-shrink: 0;
}

body.dtp-app .dtp-task-priority,
body.dtp-app .dtp-task-status {
    display: inline-flex;
    align-items: center;

    padding: 6px 11px;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 600;
}

/* =========================================================
   TASK PRIORITY
   ========================================================= */

body.dtp-app .dtp-task-item {
    border-left: 4px solid transparent;
    padding-left: 16px;
}


/* HIGH */

body.dtp-app .dtp-task-priority-high {
    border-left-color: #d9534f;
}

body.dtp-app .dtp-task-priority-high
.dtp-task-priority {
    background: #fcebea;
    color: #d9534f;
}


/* LOW */

body.dtp-app .dtp-task-priority-low {
    border-left-color: #4f7cac;
}

body.dtp-app .dtp-task-priority-low
.dtp-task-priority {
    background: #eaf2f9;
    color: #4f7cac;
}


/* STATUS */

body.dtp-app .dtp-task-status {
    background: #f1f2f4;
    color: #55585e;
}


/* =========================================================
   TASK MODAL
   ========================================================= */

body.dtp-app #dtp-task-modal {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 999999;

    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.45);
}

body.dtp-app #dtp-task-modal.open {
    display: flex;
}


/* MODAL CONTENT */

body.dtp-app #dtp-task-modal .dtp-modal-content {
    position: relative;

    width: min(620px, calc(100% - 30px));
    max-height: calc(100vh - 40px);

    overflow-y: auto;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e7e8eb;
    border-radius: 16px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.20);

    padding: 26px;
}

body.dtp-app #dtp-task-modal .dtp-modal-content h2 {
    margin: 0 0 25px;

    font-size: 21px;
    font-weight: 600;

    color: #202124;
}


/* TASK FORM */

body.dtp-app #dtp-task-form {
    display: flex;
    flex-direction: column;
}

body.dtp-app #dtp-task-form .dtp-form-group {
    display: flex;
    flex-direction: column;

    gap: 7px;

    margin-bottom: 18px;
}

body.dtp-app #dtp-task-form .dtp-form-group label {
    font-size: 13px;
    font-weight: 600;

    color: #44474d;
}

body.dtp-app #dtp-task-form input,
body.dtp-app #dtp-task-form textarea,
body.dtp-app #dtp-task-form select {
    width: 100%;
    max-width: 100%;

    box-sizing: border-box;

    border: 1px solid #dfe1e5;
    border-radius: 8px;

    padding: 11px 12px;

    background: #ffffff;
    color: #202124;

    font-family: inherit;
    font-size: 14px;

    outline: none;
}

body.dtp-app #dtp-task-form input:focus,
body.dtp-app #dtp-task-form textarea:focus,
body.dtp-app #dtp-task-form select:focus {
    border-color: #999;
    box-shadow: none;
}

body.dtp-app #dtp-task-form textarea {
    min-height: 100px;
    resize: vertical;
}


/* MODAL CLOSE */

body.dtp-app #dtp-task-modal .dtp-modal-close {
    position: absolute;

    top: 18px;
    right: 20px;

    border: 0;
    background: transparent;

    padding: 4px;

    font-size: 27px;
    line-height: 1;

    color: #888;

    cursor: pointer;
}


/* MODAL BUTTONS */

body.dtp-app #dtp-task-modal .dtp-modal-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 10px;

    margin-top: 6px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    body.dtp-app .dtp-tasks-page {
        padding: 22px;
    }

    body.dtp-app .dtp-tasks-header {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 600px) {

    body.dtp-app .dtp-tasks-page {
        padding: 20px;
    }

    body.dtp-app .dtp-tasks-header h1 {
        font-size: 28px;
    }

    body.dtp-app .dtp-tasks-panel {
        padding: 20px;
    }

    body.dtp-app .dtp-task-item {
        align-items: flex-start;
        flex-direction: column;
    }

    body.dtp-app .dtp-task-meta {
        width: 100%;
        flex-wrap: wrap;
    }

    body.dtp-app #dtp-task-modal .dtp-modal-content {
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);

        border-radius: 14px;
        padding: 20px;
    }

    body.dtp-app #dtp-task-modal .dtp-modal-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    body.dtp-app #dtp-task-modal .dtp-modal-actions button {
        width: 100%;
    }
}

/* =================================
   VENDORS DROPDOWN
================================= */

.dtp-vendors-dropdown {
    position: relative;
}


/* VENDORS BUTTON */

.dtp-vendors-toggle {
    border: 0;
    background: transparent;

    padding: 10px 16px;

    border-radius: 9px;

    color: #666;

    font-family: inherit;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 7px;
}

.dtp-vendors-toggle:hover {
    background: #f3f4f6;
    color: #111;
}

.dtp-vendors-toggle span {
    font-size: 12px;
    color: #888;
}


/* DROPDOWN */

.dtp-vendors-menu {
    display: none;

    position: absolute;

    top: calc(100% + 8px);
    left: 0;

    width: 260px;
    max-height: 320px;

    overflow-y: auto;

    padding: 8px;

    background: #ffffff;

    border: 1px solid #e4e5e8;
    border-radius: 12px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.12);

    z-index: 999999;
}


/* OPEN */

.dtp-vendors-menu.open {
    display: block;
}


/* ITEMS */

.dtp-vendors-menu a {
    display: block;

    width: 100%;

    padding: 10px 12px;

    border-radius: 8px;

    color: #55585e;

    text-decoration: none;

    font-size: 14px;
}

.dtp-vendors-menu a:hover {
    background: #f5f5f6;
    color: #111;
}


/* MOBILE */

@media (max-width: 800px) {

    .dtp-vendors-menu {
        position: fixed;

        top: auto;
        left: 78px;

        margin-top: -45px;
    }

}


/* =================================
   VENDOR PAGE
================================= */

body.dtp-app .dtp-vendor-form {
    margin-top: 25px;
    padding: 30px;
}


/* FORM */

body.dtp-app .dtp-vendor-form .dtp-form-group {
    margin-bottom: 22px;
}

body.dtp-app .dtp-vendor-form .dtp-form-group label {
    font-size: 16px;
    font-weight: 600;       
    color: #202124;
    font-family: Cardo;
}

body.dtp-app .dtp-vendor-form input[type="text"],
body.dtp-app .dtp-vendor-form input[type="number"],
body.dtp-app .dtp-vendor-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dfe1e5;
    border-radius: 8px;
    padding: 11px 12px;
    background: #ffffff;
    color: #202124;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

body.dtp-app .dtp-vendor-form textarea {
    min-height: 110px;
    resize: vertical;
}

body.dtp-app .dtp-vendor-form input:focus,
body.dtp-app .dtp-vendor-form textarea:focus {
    border-color: #999;
}


/* =================================
   DOCUMENTS
================================= */

body.dtp-app .dtp-document-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eeeeef;
}

body.dtp-app .dtp-document-section h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: #202124;
    font-family: inherit;

}


/* UPLOAD BOX */

body.dtp-app .dtp-document-upload { 
    width: 100%; 
    max-width: 430px; 
    margin: 0 auto; 
    padding: 25px 20px; 
    box-sizing: border-box; 
    text-align: center; 
    background: #fafbfc; 
    border: 1px dashed #d7dce2; 
    border-radius: 12px; 
    
}

body.dtp-app .dtp-document-icon {
    font-size: 26px;
    margin-bottom: 9px;
}

body.dtp-app .dtp-document-upload-text {
    margin-bottom: 15px;
    color: #858990;
    font-size: 13px;
    line-height: 1.5;
}


/* ADD DOCUMENT BUTTON */

body.dtp-app #dtp-add-document {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;

    background: #ffffff;
    color: #374151;

    border: 1px solid #d9dde3;
    border-radius: 8px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

body.dtp-app #dtp-add-document:hover {
    background: #f7f8fa;
}


/* DOCUMENT LIST */

body.dtp-app .dtp-document-list {
    width: 100%;
    margin-top: 18px;
}

body.dtp-app .dtp-document-item {
    display: flex;
    align-items: center;
    gap: 9px;

    width: 100%;
    box-sizing: border-box;

    padding: 11px 14px;
    margin-top: 8px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

body.dtp-app .dtp-document-file-icon {
    flex-shrink: 0;
    font-size: 16px;
}

body.dtp-app .dtp-document-item a {
    color: #4f6f91;
    font-size: 14px;
    text-decoration: none;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.dtp-app .dtp-document-item a:hover {
    text-decoration: underline;
}


/* =================================
   VENDOR BUTTON
================================= */

body.dtp-app .dtp-vendor-form > .dtp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 28px;
    padding: 11px 20px;

    background: #1f2937;
    color: #ffffff;

    border: 0;
    border-radius: 8px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

body.dtp-app .dtp-vendor-form > .dtp-btn-primary:hover {
    background: #111827;
}


/* =================================
   MOBILE
================================= */

@media (max-width: 700px) {

    body.dtp-app .dtp-vendor-form {
        padding: 20px;
    }

    body.dtp-app .dtp-document-upload {
        max-width: 100%;
    }

    body.dtp-app .dtp-document-list {
        max-width: 100%;
    }

}
/* =================================
   VENDOR ACTIONS
================================= */

body.dtp-app .dtp-vendor-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;

    margin-top: 28px;
    padding-top: 22px;

    border-top: 1px solid #eeeeef;
}


/* CANCEL */

body.dtp-app .dtp-btn-cancel {
    padding: 11px 18px;

    background: #ffffff;
    color: #4b5563;

    border: 1px solid #dfe1e5;
    border-radius: 8px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

body.dtp-app .dtp-btn-cancel:hover {
    background: #f7f7f8;
}


/* SAVE */

body.dtp-app .dtp-vendor-actions .dtp-btn-primary {
    padding: 11px 20px;

    background: #1f2937;
    color: #ffffff;

    border: 0;
    border-radius: 8px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

body.dtp-app .dtp-vendor-actions .dtp-btn-primary:hover {
    background: #111827;
}

/* =================================
   DJ MOOD TIMELINE
================================= */

body.dtp-app .dtp-dj-timeline {
    margin-top: 30px;
    margin-bottom: 30px;
}

body.dtp-app .dtp-dj-timeline h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #202124;
}

body.dtp-app .dtp-dj-timeline-row {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 20px;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid #eeeeef;
}

body.dtp-app .dtp-dj-timeline-label {
    font-size: 14px;
    font-weight: 500;
    color: #44474d;
}

body.dtp-app .dtp-dj-timeline-field textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 70px;
    resize: vertical;
}

/* =================================
   FURNITURE TABLE
================================= */

body.dtp-app .dtp-furniture-table {
    width: 100%;
}

body.dtp-app .dtp-furniture-row {
    display: grid;
    grid-template-columns:
        1.5fr
        1.2fr
        80px
        1.5fr
        110px;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid #eeeeef;
}

body.dtp-app .dtp-furniture-header {
    padding: 0 0 10px;
    border-top: 0;
    font-size: 13px;
    font-weight: 600;
    color: #44474d;
}

body.dtp-app .dtp-furniture-row input {
    width: 100%;
    box-sizing: border-box;
}

body.dtp-app .dtp-furniture-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
}

body.dtp-app .dtp-furniture-total {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    padding: 18px 0 0;
    margin-top: 4px;
    border-top: 1px solid #eeeeef;
    font-size: 15px;
    font-weight: 600;
    color: #202124;
}

body.dtp-app .dtp-furniture-total strong {
    min-width: 110px;
    text-align: right;
}
body.dtp-app .dtp-catering-total {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    padding: 18px 0 20px;
    margin-top: 4px;
    margin-bottom: 24px;
    border-top: 1px solid #eeeeef;
    font-size: 15px;
    font-weight: 600;
    color: #202124;
}
/* =================================
   FLORAL & DECOR TABLE
================================= */

body.dtp-app .dtp-floral-table {
    width: 100%;
}

body.dtp-app .dtp-floral-row {
    display: grid;
    grid-template-columns:
        1.5fr
        1.5fr
        1.2fr
        110px;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid #eeeeef;
}

body.dtp-app .dtp-floral-header {
    padding: 0 0 10px;
    border-top: 0;
    font-size: 13px;
    font-weight: 600;
    color: #44474d;
}

body.dtp-app .dtp-floral-row input {
    width: 100%;
    box-sizing: border-box;
}

body.dtp-app .dtp-floral-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
}

body.dtp-app .dtp-floral-total {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    padding: 18px 0 0;
    margin-top: 4px;
    border-top: 1px solid #eeeeef;
    font-size: 15px;
    font-weight: 600;
    color: #202124;
}

body.dtp-app .dtp-floral-total strong {
    min-width: 110px;
    text-align: right;
}
/* =================================
   PHOTOGRAPHER / VIDEOGRAPHER TABLE
================================= */

body.dtp-app .dtp-photo-video-table {
    width: 100%;
}

body.dtp-app .dtp-photo-video-row {
    display: grid;
    grid-template-columns:
        1.5fr
        2.5fr;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid #eeeeef;
}

body.dtp-app .dtp-photo-video-header {
    padding: 0 0 10px;
    border-top: 0;
    font-size: 13px;
    font-weight: 600;
    color: #44474d;
}

body.dtp-app .dtp-photo-video-row input {
    width: 100%;
    box-sizing: border-box;
}

body.dtp-app .dtp-photo-video-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
}
body.dtp-app .dtp-photo-video-row textarea {
    width: 100%;
    min-height: 110px;
    max-height: 220px;
    overflow-y: auto;
    box-sizing: border-box;
    resize: vertical;
}
/* =================================
   BAR CATERING TABLE
================================= */

body.dtp-app .dtp-bar-catering-table {
    width: 100%;
}

body.dtp-app .dtp-bar-catering-row {
    display: grid;
    grid-template-columns:
        1.5fr
        2.5fr;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid #eeeeef;
}

body.dtp-app .dtp-bar-catering-header {
    padding: 0 0 10px;
    border-top: 0;
    font-size: 13px;
    font-weight: 600;
    color: #44474d;
}

body.dtp-app .dtp-bar-catering-row input {
    width: 100%;
    box-sizing: border-box;
}

body.dtp-app .dtp-bar-catering-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
}

body.dtp-app .dtp-bar-catering-total {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    padding: 18px 0 20px;
    margin-top: 4px;
    margin-bottom: 24px;
    border-top: 1px solid #eeeeef;
    font-size: 15px;
    font-weight: 600;
    color: #202124;
}

body.dtp-app .dtp-bar-catering-total strong {
    min-width: 110px;
    text-align: right;
}
/* =================================
   PRINTING TABLE
================================= */

body.dtp-app .dtp-printing-table {
    width: 100%;
}

body.dtp-app .dtp-printing-row {
    display: grid;
    grid-template-columns:
        1.5fr
        100px
        1.5fr
        110px;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid #eeeeef;
}

body.dtp-app .dtp-printing-header {
    padding: 0 0 10px;
    border-top: 0;
    font-size: 13px;
    font-weight: 600;
    color: #44474d;
}

body.dtp-app .dtp-printing-row input {
    width: 100%;
    box-sizing: border-box;
}

body.dtp-app .dtp-printing-item-name {
    font-size: 14px;
    font-weight: 500;
    color: #202124;
}

body.dtp-app .dtp-printing-total {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    padding: 18px 0 20px;
    margin-top: 4px;
    margin-bottom: 24px;
    border-top: 1px solid #eeeeef;
    font-size: 15px;
    font-weight: 600;
    color: #202124;
}

body.dtp-app .dtp-printing-total strong {
    min-width: 110px;
    text-align: right;
}
body.dtp-app .dtp-document-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border: 1px solid #eeeeef;
    border-radius: 8px;
    margin-top: 8px;
}

body.dtp-app .dtp-document-item a {
    color: #202124;
    text-decoration: none;
    font-size: 14px;
    flex: 1;
}

body.dtp-app .dtp-document-item a:hover {
    text-decoration: underline;
}

body.dtp-app .dtp-document-delete {
    border: 0;
    background: transparent;
    padding: 4px 6px;
    cursor: pointer;
    font-size: 16px;
    flex-shrink: 0;
}
.dtp-budget-page {

            max-width: 1200px;

            margin: 0 auto;

            padding: 40px 30px;

            font-family: Arial, sans-serif;
        }


        .dtp-budget-header {

            margin-bottom: 30px;
        }


        .dtp-budget-header h1 {

            margin: 0 0 8px;

            font-size: 32px;
        }


        .dtp-budget-header p {

            margin: 0;

            color: #777;

            font-size: 15px;
        }


        .dtp-budget-overview {

            display: grid;

            grid-template-columns:
                repeat(4, 1fr);

            gap: 20px;

            margin-bottom: 40px;
        }


        .dtp-budget-card {

            background: #fff;

            border: 1px solid #e5e5e5;

            border-radius: 14px;

            padding: 24px;

            box-shadow:
                0 4px 15px
                rgba(0,0,0,0.04);
        }


        .dtp-budget-card-label {

            font-size: 14px;

            color: #777;

            margin-bottom: 12px;
        }


        .dtp-budget-card-value {

            font-size: 28px;

            font-weight: 600;
        }


        .dtp-budget-card.total-budget {

            cursor: pointer;
        }


        .dtp-budget-card.total-budget:hover {

            border-color: #ccc;
        }


        .dtp-budget-edit {

            display: none;
        }


        .dtp-budget-edit input {

            width: 100%;

            box-sizing: border-box;

            padding: 10px 12px;

            border: 1px solid #ccc;

            border-radius: 8px;

            font-size: 22px;

            font-weight: 600;

            outline: none;
        }


        .dtp-budget-edit input:focus {

            border-color: #999;
        }


        .dtp-vendor-budget {

            margin-top: 20px;
        }


        .dtp-budget-section-header {

            margin-bottom: 15px;
        }


        .dtp-budget-section-header h2 {

            margin: 0;

            font-size: 22px;
        }


        .dtp-budget-table-wrapper {

            overflow-x: auto;

            background: #fff;

            border: 1px solid #e5e5e5;

            border-radius: 14px;
        }


        .dtp-budget-table {

            width: 100%;

            border-collapse: collapse;

            min-width: 850px;
        }


        .dtp-budget-table th {

            text-align: left;

            padding: 15px 18px;

            font-size: 13px;

            color: #777;

            background: #fafafa;

            border-bottom: 1px solid #e5e5e5;
        }


        .dtp-budget-table td {

            padding: 18px;

            border-bottom: 1px solid #eee;

            font-size: 14px;
        }


        .dtp-budget-table tbody tr:last-child td {

            border-bottom: none;
        }


        .dtp-budget-table td:nth-child(3),
        .dtp-budget-table td:nth-child(4),
        .dtp-budget-table td:nth-child(5) {

            white-space: nowrap;
        }


        .dtp-add-payment-button {

            border: 1px solid #ddd;

            background: #fff;

            padding: 8px 12px;

            border-radius: 8px;

            cursor: pointer;

            font-size: 13px;
        }


        .dtp-add-payment-button:hover {

            background: #f5f5f5;
        }


        .dtp-budget-empty {

            text-align: center;

            color: #777;

            padding: 30px !important;
        }


        /*
         * Payment Modal
         */

        .dtp-payment-modal {

            display: none;

            position: fixed;

            inset: 0;

            background:
                rgba(0,0,0,0.45);

            z-index: 99999;

            align-items: center;

            justify-content: center;

            padding: 20px;

            box-sizing: border-box;
        }


        .dtp-payment-modal.active {

            display: flex;
        }


        .dtp-payment-modal-content {

            width: 100%;

            max-width: 460px;

            background: #fff;

            border-radius: 16px;

            padding: 28px;

            box-sizing: border-box;

            box-shadow:
                0 20px 60px
                rgba(0,0,0,0.2);
        }


        .dtp-payment-modal-header {

            display: flex;

            justify-content: space-between;

            align-items: center;

            margin-bottom: 24px;
        }


        .dtp-payment-modal-header h3 {

            margin: 0;

            font-size: 22px;
        }


        .dtp-payment-close {

            border: none;

            background: transparent;

            font-size: 24px;

            cursor: pointer;

            color: #777;
        }


        .dtp-payment-vendor {

            background: #f7f7f7;

            border-radius: 10px;

            padding: 12px 14px;

            margin-bottom: 20px;

            font-size: 14px;
        }


        .dtp-payment-field {

            margin-bottom: 16px;
        }


        .dtp-payment-field label {

            display: block;

            font-size: 13px;

            font-weight: 600;

            margin-bottom: 7px;
        }


        .dtp-payment-field input,
        .dtp-payment-field textarea {

            width: 100%;

            box-sizing: border-box;

            border: 1px solid #ddd;

            border-radius: 8px;

            padding: 10px 12px;

            font-size: 14px;

            outline: none;
        }


        .dtp-payment-field input:focus,
        .dtp-payment-field textarea:focus {

            border-color: #999;
        }


        .dtp-payment-field textarea {

            min-height: 80px;

            resize: vertical;
        }


        .dtp-payment-actions {

            display: flex;

            justify-content: flex-end;

            gap: 10px;

            margin-top: 22px;
        }


        .dtp-payment-cancel {

            border: 1px solid #ddd;

            background: #fff;

            padding: 10px 16px;

            border-radius: 8px;

            cursor: pointer;
        }


        .dtp-payment-save {

            border: none;

            background: #111;

            color: #fff;

            padding: 10px 18px;

            border-radius: 8px;

            cursor: pointer;
        }


        @media (max-width: 900px) {

            .dtp-budget-overview {

                grid-template-columns:
                    repeat(2, 1fr);
            }
        }


        @media (max-width: 600px) {

            .dtp-budget-page {

                padding: 25px 15px;
            }


            .dtp-budget-overview {

                grid-template-columns: 1fr;
            }
        }

/* ================================
   Add Cost Button
================================ */

.dtp-add-cost-button {

    border: none;

    background: #111;

    color: #fff;

    padding: 10px 16px;

    border-radius: 8px;

    cursor: pointer;

    font-size: 13px;

    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.dtp-add-cost-button:hover {

    background: #333;

    transform: translateY(-1px);
}


/* ================================
   Additional Costs Section
================================ */

.dtp-additional-costs {

    margin-top: 35px;

    margin-bottom: 40px;
}


.dtp-additional-costs
.dtp-budget-section-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;
}


.dtp-additional-costs
.dtp-budget-section-header h2 {

    margin: 0;

    font-size: 22px;

    font-weight: 600;
}


.dtp-additional-costs
.dtp-budget-table-wrapper {

    box-shadow:
        0 4px 15px rgba(0,0,0,0.03);
}


/* ================================
   Cost Title
================================ */

.dtp-cost-title-cell {

    font-weight: 600;

    color: #222;
}


/* ================================
   Money columns
================================ */

.dtp-money {

    font-weight: 500;

    white-space: nowrap;
}


.dtp-money.paid {

    color: #222;
}


.dtp-money.remaining {

    color: #666;
}


/* ================================
   Cost Modal
================================ */

.dtp-cost-modal {

    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.45);

    z-index: 99999;

    align-items: center;

    justify-content: center;

    padding: 20px;

    box-sizing: border-box;
}


.dtp-cost-modal.active {

    display: flex;
}


.dtp-cost-modal-content {

    width: 100%;

    max-width: 460px;

    background: #fff;

    border-radius: 16px;

    padding: 28px;

    box-sizing: border-box;

    box-shadow:
        0 20px 60px rgba(0,0,0,0.20);

    animation:
        dtpCostModalIn 0.18s ease-out;
}


@keyframes dtpCostModalIn {

    from {

        opacity: 0;

        transform: translateY(8px) scale(0.98);
    }

    to {

        opacity: 1;

        transform: translateY(0) scale(1);
    }
}


.dtp-cost-modal-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 24px;
}


.dtp-cost-modal-header h3 {

    margin: 0;

    font-size: 22px;

    font-weight: 600;
}


.dtp-cost-close {

    border: none;

    background: transparent;

    font-size: 25px;

    line-height: 1;

    cursor: pointer;

    color: #777;

    padding: 2px 5px;
}


.dtp-cost-close:hover {

    color: #111;
}


.dtp-cost-field {

    margin-bottom: 18px;
}


.dtp-cost-field label {

    display: block;

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 7px;

    color: #333;
}


.dtp-cost-field input {

    width: 100%;

    box-sizing: border-box;

    border: 1px solid #ddd;

    border-radius: 9px;

    padding: 12px 13px;

    font-size: 14px;

    outline: none;

    transition: border-color 0.2s ease;
}


.dtp-cost-field input:focus {

    border-color: #999;
}


.dtp-cost-actions {

    display: flex;

    justify-content: flex-end;

    gap: 10px;

    margin-top: 25px;
}


.dtp-cost-cancel {

    border: 1px solid #ddd;

    background: #fff;

    color: #333;

    padding: 10px 16px;

    border-radius: 8px;

    cursor: pointer;

    font-size: 13px;
}


.dtp-cost-cancel:hover {

    background: #f7f7f7;
}


.dtp-cost-save {

    border: none;

    background: #111;

    color: #fff;

    padding: 10px 18px;

    border-radius: 8px;

    cursor: pointer;

    font-size: 13px;

    font-weight: 600;
}


.dtp-cost-save:hover {

    background: #333;
}


@media (max-width: 600px) {

    .dtp-additional-costs
    .dtp-budget-section-header {

        align-items: flex-start;

        gap: 15px;
    }

    .dtp-additional-costs
    .dtp-budget-section-header h2 {

        font-size: 20px;
    }

    .dtp-add-cost-button {

        padding: 9px 13px;
    }

}
.dtp-budget-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dtp-budget-section-header h2 {
    margin: 0;
}

.dtp-add-cost-button {
    margin-left: auto;
}
.dtp-budget-header {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
}

.dtp-budget-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}
/* =========================================
   WEDDING DOCUMENTS PAGE
========================================= */

body.dtp-app .dtp-documents-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 30px;
}


/* =========================================
   DOCUMENTS HEADER
========================================= */

body.dtp-app .dtp-documents-header {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;

    padding: 24px 28px;
    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

body.dtp-app .dtp-documents-header h1 {
    margin: 0;

    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;

    color: #202124;
}


/* =========================================
   ADD DOCUMENT BUTTON
========================================= */

body.dtp-app .dtp-add-document-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: #111111;
    color: #ffffff;

    padding: 11px 17px;

    border-radius: 9px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

body.dtp-app .dtp-add-document-button:hover {
    background: #333333;
    transform: translateY(-1px);
}


/* =========================================
   DOCUMENTS PANEL
========================================= */

body.dtp-app .dtp-documents-panel {
    background: #ffffff;

    border: 1px solid #e7e8eb;
    border-radius: 18px;

    padding: 28px;
}


/* =========================================
   PANEL HEADER
========================================= */

body.dtp-app .dtp-documents-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid #eeeeef;

    margin-bottom: 4px;
}

body.dtp-app .dtp-documents-panel-header h2 {
    margin: 0;

    font-size: 20px;
    font-weight: 600;

    color: #202124;
}

body.dtp-app .dtp-documents-panel-header p {
    margin: 5px 0 0;

    color: #888c93;

    font-size: 13px;
}


/* =========================================
   DOCUMENT LIST
========================================= */

body.dtp-app .dtp-documents-list {
    display: flex;
    flex-direction: column;
}


/* =========================================
   DOCUMENT ITEM
========================================= */

body.dtp-app .dtp-documents-item {
    display: flex;
    align-items: center;

    gap: 16px;

    padding: 18px 4px;

    border-bottom: 1px solid #eeeeef;
}

body.dtp-app .dtp-documents-item:last-child {
    border-bottom: none;
}


/* =========================================
   FILE ICON
========================================= */

body.dtp-app .dtp-documents-file-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f5f6;

    border: 1px solid #e7e8eb;
    border-radius: 10px;

    font-size: 19px;
}


/* =========================================
   DOCUMENT INFO
========================================= */

body.dtp-app .dtp-documents-info {
    min-width: 0;
    flex: 1;
}

body.dtp-app .dtp-documents-name {
    display: block;

    margin: 0 0 5px;

    color: #202124;

    font-size: 14px;
    font-weight: 600;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.dtp-app .dtp-documents-meta {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #8a8d93;

    font-size: 12px;
}

body.dtp-app .dtp-documents-meta span {
    white-space: nowrap;
}

/* =========================================================
   DOCUMENTS PAGE - CURRENT PHP CLASS COMPATIBILITY
========================================================= */

body.dtp-app-page.dtp-documents-page .dtp-app-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 30px;
}


/* Header */

body.dtp-app-page.dtp-documents-page .dtp-documents-header {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

body.dtp-app-page.dtp-documents-page .dtp-documents-header h1 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
    color: #202124;
}


/* Upload buttons */

body.dtp-app-page.dtp-documents-page .dtp-upload-document-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 0;
    background: #171717;
    color: #fff;

    padding: 11px 16px;
    border-radius: 9px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

body.dtp-app-page.dtp-documents-page .dtp-upload-document-button:hover {
    background: #333;
}


/* Wedding name */

body.dtp-app-page.dtp-documents-page .dtp-documents-wedding-name {
    margin: 0 0 24px;
    color: #777b82;
    font-size: 14px;
}


/* Sections */

body.dtp-app-page.dtp-documents-page .dtp-documents-section {
    background: #fff;
    border: 1px solid #e7e8eb;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
}


/* Section header */

body.dtp-app-page.dtp-documents-page .dtp-documents-section-header {
    padding-bottom: 20px;
    margin-bottom: 4px;
    border-bottom: 1px solid #eeeeef;
}

body.dtp-app-page.dtp-documents-page .dtp-documents-section-header h2 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 600;
    color: #202124;
}

body.dtp-app-page.dtp-documents-page .dtp-documents-section-header p {
    margin: 0;
    color: #888c93;
    font-size: 13px;
}


/* Document list */

body.dtp-app-page.dtp-documents-page .dtp-document-card {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 18px 4px;

    border-bottom: 1px solid #eeeeef;
}

body.dtp-app-page.dtp-documents-page .dtp-document-card:last-child {
    border-bottom: 0;
}


/* Icon */

body.dtp-app-page.dtp-documents-page .dtp-document-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f5f5f6;
    border: 1px solid #e7e8eb;
    border-radius: 10px;

    font-size: 19px;
}


/* Info */

body.dtp-app-page.dtp-documents-page .dtp-document-info {
    min-width: 0;
    flex: 1;
}

body.dtp-app-page.dtp-documents-page .dtp-document-name {
    margin-bottom: 5px;

    color: #202124;

    font-size: 14px;
    font-weight: 600;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.dtp-app-page.dtp-documents-page .dtp-document-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    color: #8a8d93;
    font-size: 12px;
}

body.dtp-app-page.dtp-documents-page .dtp-document-meta span:not(:last-child)::after {
    content: "•";
    margin-left: 8px;
    color: #c2c4c8;
}


/* Vendor label */

body.dtp-app-page.dtp-documents-page .dtp-document-vendor {
    color: #55585e;
    font-weight: 500;
}


/* Actions */

body.dtp-app-page.dtp-documents-page .dtp-document-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

body.dtp-app-page.dtp-documents-page .dtp-document-view,
body.dtp-app-page.dtp-documents-page .dtp-document-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 11px;

    border: 1px solid #dedfe2;
    background: #fff;
    color: #44474d;

    border-radius: 8px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}

body.dtp-app-page.dtp-documents-page .dtp-document-view:hover,
body.dtp-app-page.dtp-documents-page .dtp-document-download:hover {
    background: #f5f5f6;
    color: #111;
}


/* Delete */

body.dtp-app-page.dtp-documents-page .dtp-document-delete {
    border: 0;
    background: transparent;

    padding: 8px 9px;

    color: #777b82;

    border-radius: 8px;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}

body.dtp-app-page.dtp-documents-page .dtp-document-delete:hover {
    background: #f5f5f6;
    color: #222;
}


/* Empty state */

body.dtp-app-page.dtp-documents-page .dtp-documents-empty {
    min-height: 280px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 50px 20px;
}

body.dtp-app-page.dtp-documents-page .dtp-documents-empty-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 16px;

    background: #f5f5f6;
    border: 1px solid #e7e8eb;
    border-radius: 14px;

    font-size: 24px;
}

body.dtp-app-page.dtp-documents-page .dtp-documents-empty h3 {
    margin: 0 0 8px;

    font-size: 17px;
    font-weight: 600;

    color: #202124;
}

body.dtp-app-page.dtp-documents-page .dtp-documents-empty p {
    max-width: 380px;

    margin: 0 0 20px;

    color: #888c93;

    font-size: 14px;
    line-height: 1.5;
}


/* =========================================================
   DOCUMENT MODAL
========================================================= */

body.dtp-app-page.dtp-documents-page .dtp-document-modal {
    position: fixed;
    inset: 0;

    z-index: 999999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.45);
}

body.dtp-app-page.dtp-documents-page .dtp-document-modal-overlay {
    position: absolute;
    inset: 0;
}


/* Modal box */

body.dtp-app-page.dtp-documents-page .dtp-document-modal-box {
    position: relative;
    z-index: 2;

    width: min(520px, calc(100% - 20px));

    max-height: calc(100vh - 40px);
    overflow-y: auto;

    background: #fff;

    border: 1px solid #e7e8eb;
    border-radius: 16px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.20);
}


/* Modal header */

body.dtp-app-page.dtp-documents-page .dtp-document-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    padding: 22px 24px;

    border-bottom: 1px solid #eeeeef;
}

body.dtp-app-page.dtp-documents-page .dtp-document-modal-header h2 {
    margin: 0 0 5px;

    font-size: 20px;
    font-weight: 600;

    color: #202124;
}

body.dtp-app-page.dtp-documents-page .dtp-document-modal-header p {
    margin: 0;

    color: #888c93;

    font-size: 13px;
}


/* Close */

body.dtp-app-page.dtp-documents-page .dtp-document-modal-close {
    border: 0;
    background: transparent;

    padding: 2px 5px;

    color: #777;

    font-size: 25px;
    line-height: 1;

    cursor: pointer;
}

body.dtp-app-page.dtp-documents-page .dtp-document-modal-close:hover {
    color: #111;
}


/* Form */

body.dtp-app-page.dtp-documents-page #dtp-document-upload-form {
    padding: 24px;
}

body.dtp-app-page.dtp-documents-page .dtp-document-form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;

    margin-bottom: 20px;
}

body.dtp-app-page.dtp-documents-page .dtp-document-form-field label {
    font-size: 13px;
    font-weight: 600;
    color: #44474d;
}

body.dtp-app-page.dtp-documents-page .dtp-document-form-field input[type="text"],
body.dtp-app-page.dtp-documents-page .dtp-document-form-field select,
body.dtp-app-page.dtp-documents-page .dtp-document-form-field input[type="file"] {
    width: 100%;

    min-height: 42px;

    padding: 10px 12px;

    box-sizing: border-box;

    border: 1px solid #dedfe2;
    border-radius: 9px;

    background: #fff;

    color: #202124;

    font-family: inherit;
    font-size: 13px;
}

body.dtp-app-page.dtp-documents-page .dtp-document-form-field input[type="text"]:focus,
body.dtp-app-page.dtp-documents-page .dtp-document-form-field select:focus {
    outline: none;
    border-color: #999da4;
}

body.dtp-app-page.dtp-documents-page .dtp-document-form-field small {
    color: #8a8d93;
    font-size: 12px;
}


/* Upload status */

body.dtp-app-page.dtp-documents-page .dtp-document-upload-status {
    margin-bottom: 16px;

    padding: 10px 12px;

    border-radius: 8px;

    background: #f5f5f6;

    color: #55585e;

    font-size: 13px;
}


/* Modal buttons */

body.dtp-app-page.dtp-documents-page .dtp-document-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 10px;

    padding-top: 4px;
}

body.dtp-app-page.dtp-documents-page .dtp-document-cancel-button {
    border: 1px solid #dedfe2;
    background: #fff;
    color: #44474d;

    padding: 10px 16px;

    border-radius: 9px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
}

body.dtp-app-page.dtp-documents-page .dtp-document-submit-button {
    border: 0;
    background: #111;
    color: #fff;

    padding: 10px 17px;

    border-radius: 9px;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
}

body.dtp-app-page.dtp-documents-page .dtp-document-submit-button:hover {
    background: #333;
}

body.dtp-app-page.dtp-documents-page .dtp-document-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    body.dtp-app-page.dtp-documents-page .dtp-app-content {
        padding: 22px 20px;
    }

    body.dtp-app-page.dtp-documents-page .dtp-documents-header {
        padding: 22px;
    }

    body.dtp-app-page.dtp-documents-page .dtp-documents-section {
        padding: 20px;
    }

    body.dtp-app-page.dtp-documents-page .dtp-document-card {
        align-items: flex-start;
    }

    body.dtp-app-page.dtp-documents-page .dtp-document-actions {
        flex-direction: column;
        align-items: stretch;
    }

}


@media (max-width: 500px) {

    body.dtp-app-page.dtp-documents-page .dtp-app-content {
        padding: 20px 15px;
    }

    body.dtp-app-page.dtp-documents-page .dtp-documents-header {
        flex-direction: column;
        align-items: stretch;
    }

    body.dtp-app-page.dtp-documents-page .dtp-upload-document-button {
        width: 100%;
    }

    body.dtp-app-page.dtp-documents-page .dtp-document-card {
        gap: 12px;
    }

    body.dtp-app-page.dtp-documents-page .dtp-document-actions {
        flex-direction: row;
    }

}


/* =========================================================
   NOTES PAGE
   ========================================================= */

.dtp-notes-page {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 24px 50px;
}


/* =========================================================
   MAIN WHITE NOTES BOX
   ========================================================= */

.dtp-notes-page > .dtp-notes-page-header,
.dtp-notes-page > .dtp-notes-section {
    width: 100%;
}

.dtp-notes-page {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.04);
    padding: 28px;
}


/* =========================================================
   HEADER
   ========================================================= */

.dtp-notes-page .dtp-notes-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 35px;
}

.dtp-notes-page .dtp-notes-page-title h1 {
    margin: 0;
    padding: 0;

    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;

    color: #111;
}


/* =========================================================
   ADD NOTE BUTTON
   ========================================================= */

.dtp-notes-page .dtp-add-note-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 17px;

    border: none;
    border-radius: 8px;

    background: #111;
    color: #fff;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}

.dtp-notes-page .dtp-add-note-btn:hover {
    background: #333;
    color: #fff;
    transform: translateY(-1px);
}


/* =========================================================
   SECTIONS
   ========================================================= */

.dtp-notes-page .dtp-notes-section {
    margin-bottom: 35px;
}

.dtp-notes-page .dtp-notes-section:last-child {
    margin-bottom: 0;
}

.dtp-notes-page .dtp-notes-section-header {
    margin-bottom: 16px;
}

.dtp-notes-page .dtp-notes-section-header h2 {
    margin: 0 0 5px;

    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;

    color: #111;
}

.dtp-notes-page .dtp-notes-section-header p {
    margin: 0;

    font-size: 13px;
    line-height: 1.5;

    color: #888;
}


/* =========================================================
   NOTES LIST
   ========================================================= */

.dtp-notes-page .dtp-meeting-notes-list,
.dtp-notes-page .dtp-vendor-notes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;

    width: 100%;
}


/* =========================================================
   MEETING NOTE CARD
   ========================================================= */

.dtp-notes-page .dtp-note-item {
    width: 100%;

    padding: 20px;

    border: 1px solid #e9e9e9;
    border-radius: 10px;

    background: #fff;

    box-sizing: border-box;

    transition: border-color 0.2s ease,
                box-shadow 0.2s ease;
}

.dtp-notes-page .dtp-note-item:hover {
    border-color: #ddd;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   NOTE HEADER
   ========================================================= */

.dtp-notes-page .dtp-note-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 14px;
}

.dtp-notes-page .dtp-note-heading {
    min-width: 0;
}

.dtp-notes-page .dtp-note-date {
    margin-bottom: 4px;

    font-size: 11px;
    line-height: 1.4;

    color: #999;
}

.dtp-notes-page .dtp-note-heading h3 {
    margin: 0;

    font-size: 16px;
    line-height: 1.4;
    font-weight: 650;

    color: #111;

    overflow-wrap: anywhere;
}


/* =========================================================
   NOTE ACTIONS
   ========================================================= */

.dtp-notes-page .dtp-note-actions {
    display: flex;
    align-items: center;
    gap: 6px;

    flex-shrink: 0;
}

.dtp-notes-page .dtp-note-actions button {
    min-height: 30px;

    padding: 0 10px;

    border-radius: 6px;

    font-family: inherit;
    font-size: 11px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.2s ease;
}

.dtp-notes-page .dtp-note-edit {
    border: 1px solid #ddd;
    background: #fff;
    color: #444;
}

.dtp-notes-page .dtp-note-edit:hover {
    background: #f6f6f6;
}

.dtp-notes-page .dtp-note-delete {
    border: 1px solid #eee;
    background: #fff;
    color: #999;
}

.dtp-notes-page .dtp-note-delete:hover {
    border-color: #ddd;
    color: #333;
}


/* =========================================================
   NOTE CONTENT
   ========================================================= */

.dtp-notes-page .dtp-note-content {
    width: 100%;
    min-width: 0;
}

.dtp-notes-page .dtp-note-content ul {
    margin: 0;
    padding-left: 21px;

    width: 100%;

    box-sizing: border-box;
}

.dtp-notes-page .dtp-note-content li {
    margin: 0 0 6px;

    font-size: 13px;
    line-height: 1.6;

    color: #555;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.dtp-notes-page .dtp-note-content li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   VENDOR NOTES
   ========================================================= */

.dtp-notes-page .dtp-vendor-note-card {
    width: 100%;

    padding: 18px 20px;

    border: 1px solid #e9e9e9;
    border-radius: 10px;

    background: #fff;

    box-sizing: border-box;
}

.dtp-notes-page .dtp-vendor-note-header {
    margin-bottom: 10px;
}

.dtp-notes-page .dtp-vendor-note-header h3 {
    margin: 0;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 650;

    color: #111;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.dtp-notes-page .dtp-notes-empty {
    width: 100%;

    padding: 35px 20px;

    border: 1px dashed #ddd;
    border-radius: 10px;

    background: #fafafa;

    text-align: center;

    box-sizing: border-box;
}

.dtp-notes-page .dtp-notes-empty h3 {
    margin: 0 0 6px;

    font-size: 14px;
    font-weight: 650;

    color: #333;
}

.dtp-notes-page .dtp-notes-empty p {
    margin: 0;

    font-size: 12px;
    line-height: 1.5;

    color: #999;
}

/* =========================================
   NOTES MODAL
   ========================================= */

.dtp-note-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.dtp-note-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dtp-note-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.dtp-note-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(650px, calc(100% - 32px));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 28px;
    box-sizing: border-box;
}

/* Modal header */

.dtp-note-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.dtp-note-modal-header h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
}

.dtp-note-modal-header p {
    margin: 6px 0 0;
    font-size: 14px;
    color: #6b7280;
}

/* Close button */

.dtp-note-modal-close {
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    color: #374151;
    font-size: 22px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
}

.dtp-note-modal-close:hover {
    background: #e5e7eb;
}

/* Form */

#dtp-note-form {
    margin: 0;
}

.dtp-note-form-row {
    margin-bottom: 20px;
}

.dtp-note-form-row label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.dtp-note-form-row input[type="date"],
.dtp-note-form-row input[type="text"] {
    width: 100%;
    height: 44px;
    padding: 0 13px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.dtp-note-form-row input[type="date"]:focus,
.dtp-note-form-row input[type="text"]:focus {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

/* Points header */

.dtp-note-points-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 8px;
}

.dtp-note-points-header label {
    margin: 0;
}

/* Bullet editor */

.dtp-note-points-editor {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dtp-note-point-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
}

.dtp-note-point-bullet {
    width: 24px;
    min-width: 24px;
    padding-top: 10px;
    text-align: center;
    font-size: 18px;
    color: #111827;
}

.dtp-note-point-input {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    background: #ffffff;
    color: #111827;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: none;
    overflow: hidden;
    box-sizing: border-box;
    outline: none;
}

.dtp-note-point-input:focus {
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

/* Remove bullet */

.dtp-remove-point-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    margin-top: 5px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    font-size: 16px;
}

.dtp-remove-point-btn:hover {
    background: #fee2e2;
    color: #b91c1c;
}

/* Add point */

.dtp-add-point-btn {
    margin-top: 8px;
    padding: 8px 12px;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.dtp-add-point-btn:hover {
    text-decoration: underline;
}

/* Footer */

.dtp-note-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.dtp-note-cancel-btn,
.dtp-note-save-btn {
    height: 42px;
    padding: 0 18px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.dtp-note-cancel-btn {
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #374151;
}

.dtp-note-cancel-btn:hover {
    background: #f9fafb;
}

.dtp-note-save-btn {
    border: 1px solid #111827;
    background: #111827;
    color: #ffffff;
}

.dtp-note-save-btn:hover {
    background: #000000;
}

/* Prevent background page scrolling while modal is open */

body.dtp-note-modal-open {
    overflow: hidden;
}

/* Mobile */

@media (max-width: 600px) {

    .dtp-note-modal-dialog {
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
        padding: 20px;
        border-radius: 14px;
    }

    .dtp-note-modal-header h2 {
        font-size: 21px;
    }

    .dtp-note-modal-footer {
        flex-direction: column-reverse;
    }

    .dtp-note-cancel-btn,
    .dtp-note-save-btn {
        width: 100%;
    }
}