/* Shared layout for price-schedule ADD/EDIT dialogs (match Product Price Export form) */

.pp-schedule-dialog-shell {
    max-height: 78vh;
    overflow-y: auto;
    width: 100%;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    padding: 8px;
}

.pp-schedule-card {
    border-radius: 18px;
    border: 1px solid rgba(17, 138, 178, .18);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    overflow: hidden;
    background: #ffffff;
}

.pp-schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, #0f7ea8 0%, #118ab2 45%, #20a4c8 100%);
    color: #ffffff;
}

.pp-schedule-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .2px;
}

.pp-schedule-subtitle {
    font-size: 12px;
    opacity: .9;
    margin-top: 2px;
}

.pp-section {
    border: 1px solid rgba(17, 138, 178, .14);
    border-radius: 16px;
    background: #ffffff;
    padding: 12px;
    margin-bottom: 12px;
}

.pp-soft-section {
    background: #f0f9ff;
}

.pp-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f6f91;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}

.pp-section-title::before {
    content: "";
    width: 5px;
    height: 18px;
    border-radius: 999px;
    background: #118ab2;
    display: inline-block;
    flex-shrink: 0;
}

.pp-action-button {
    min-width: 42px;
    height: 36px;
    border-radius: 10px !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 16px rgba(17, 138, 178, .22);
}

.pp-dialog-actions-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border-top: 1px solid rgba(15, 23, 42, .08);
    background: #ffffff;
}

.pp-dialog-actions-bar .mud-button-root {
    border-radius: 10px;
    min-width: 90px;
    font-weight: 700;
}

.pp-schedule-dialog-shell .custom-label label,
.pp-schedule-dialog-shell .custom-label .mud-input-label {
    font-weight: 700 !important;
    color: #118AB2 !important;
    font-size: 12px !important;
}

.pp-schedule-dialog-shell .mud-input-root,
.pp-schedule-dialog-shell .mud-select,
.pp-schedule-dialog-shell .mud-picker-input-button {
    font-size: 13px;
}

.pp-schedule-dialog-shell .mud-input-control {
    margin-top: 2px;
    margin-bottom: 2px;
}

.text-right-input input,
.pp-schedule-dialog-shell .text-right input {
    text-align: right !important;
}

@media (max-width: 768px) {
    .pp-schedule-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .pp-dialog-actions-bar {
        justify-content: stretch;
    }

        .pp-dialog-actions-bar .mud-button-root {
            flex: 1;
        }
}
