/* ==========================================================================
   Hajipur Marketing User PMR Details Dialog Modal Styles (hmpd-*)
   ========================================================================== */

.hmpd-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    width: 780px;
    max-width: 95vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.hmpd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid #F0F0F5;
}

.hmpd-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hmpd-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #151515;
}

.hmpd-close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #666666;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.hmpd-body {
    padding: 22px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.hmpd-body::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.hmpd-body::-webkit-scrollbar-thumb {
    background-color: #cbd5e1 !important;
    border-radius: 3px !important;
}

.hmpd-body::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8 !important;
}

.hmpd-body::-webkit-scrollbar-track {
    background-color: #f8fafc !important;
}

.hmpd-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 28px;
    row-gap: 14px;
}

.hmpd-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid #F5F5F8;
    padding-bottom: 10px;
}

.hmpd-info-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #151515;
}

.hmpd-info-value {
    font-size: 13px;
    color: #808080;
    font-weight: 400;
}

.hmpd-card-box {
    background-color: #F8F8FC;
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hmpd-box-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #151515;
}

.hmpd-box-subtitle {
    margin: 0;
    font-size: 11.5px;
    color: #808080;
}

.hmpd-cost-val {
    font-size: 13px;
    color: #151515;
    margin-top: 4px;
}

.hmpd-cost-bold {
    font-weight: 700;
    font-size: 14px;
}

/* Stepper Timeline */
.hmpd-stepper-wrapper {
    padding: 12px 10px 4px 10px;
}

.hmpd-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.hmpd-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.hmpd-step-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #888888;
    color: #FFFFFF;
}

.hmpd-step.completed .hmpd-step-icon {
    background-color: #12B76A;
}

.hmpd-step.pending .hmpd-step-icon {
    background-color: #98A2B3;
}

.hmpd-step-icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

.hmpd-step-label {
    font-size: 11px;
    font-weight: 600;
    color: #151515;
    white-space: nowrap;
}

.hmpd-step-line {
    flex: 1;
    height: 2px;
    background-color: #E2E8F0;
    position: relative;
    top: -12px;
}

.hmpd-step-line.active {
    background-color: #12B76A;
}

.hmpd-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 22px;
    border-top: 1px solid #F0F0F5;
    background-color: #FFFFFF;
}

.hmpd-btn-email-customer {
    height: 38px;
    padding: 0 24px;
    background-color: #151515;
    border: none;
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s;
}

.hmpd-btn-email-customer:hover {
    background-color: #000000;
}
