/* Viajario 0.13.2 · itinerario en español y editor de actividad reforzado */

.plan-menu:not([open]) > .plan-panel-backdrop,
.plan-menu:not([open]) > .plan-panel {
    display: none !important;
}

.plan-menu[open] > .plan-panel-backdrop {
    display: block;
}

.plan-menu[open] > .plan-panel {
    display: block;
}

.plan-panel-header {
    border-bottom: 2px solid #eb6255;
}

.plan-panel-close,
.plan-panel-close:hover,
.plan-panel-close:focus-visible {
    min-width: 92px;
    color: #fff;
    background: #061857;
    border-color: #061857;
}

.activity-expense-editor {
    padding: 20px;
    background: #fff4f1;
    border-top: 0;
    border-bottom: 1px solid #f1c8c2;
}

.activity-expense-editor-heading {
    align-items: flex-start;
}

.activity-expense-editor-heading h3 {
    margin-top: 4px;
    font-size: 20px;
}

.activity-expense-editor-heading p {
    max-width: 570px;
    margin: 6px 0 0;
    color: #5f6575;
    font-size: 12px;
    line-height: 1.45;
}

.activity-expense-editor .field > span {
    color: #061857;
    font-weight: 800;
}

.activity-expense-save {
    width: 100%;
    min-height: 44px;
    margin-top: 4px;
}

.activity-data-heading {
    padding: 20px 20px 0;
    background: #fff;
}

.activity-data-heading h3 {
    margin: 4px 0 0;
    color: #061857;
    font-size: 18px;
}

.activity-delete-form {
    border-top: 1px solid #e5e9f2;
}

.plan-panel-footer {
    position: sticky;
    z-index: 2;
    bottom: 0;
    padding: 12px 20px;
    display: flex;
    justify-content: flex-end;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid #dfe4ee;
    backdrop-filter: blur(8px);
}

.plan-panel-footer .button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.plan-panel-footer svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

@media (max-width: 620px) {
    .plan-panel-close {
        width: auto;
        min-width: 84px;
        padding-inline: 10px;
    }

    .plan-panel-close span {
        display: inline !important;
    }

    .activity-expense-editor,
    .activity-data-heading {
        padding-right: 14px;
        padding-left: 14px;
    }

    .activity-expense-editor-heading h3 {
        font-size: 18px;
    }

    .plan-panel-footer {
        padding: 10px 14px;
    }

    .plan-panel-footer .button {
        width: 100%;
        justify-content: center;
    }
}
