/* Manual payment order detail panel — mirrors app ManualPaymentSubmissionPanel */

.mpay-panel {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #E5E7EB;
}

.mpay-panel-label {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 12px;
}

.mpay-timeline {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mpay-timeline-step {
    flex: 1;
    text-align: center;
}

.mpay-timeline-track {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    min-height: 28px;
}

.mpay-timeline-dot {
    width: 28px;
    height: 28px;
    border-radius: 14px;
    background: #E5E7EB;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.mpay-timeline-dot.active {
    background: #6366F1;
}

.mpay-timeline-dot.current {
    background: #F59E0B;
}

.mpay-timeline-dot .material-icons {
    font-size: 14px;
    color: #fff;
}

.mpay-timeline-line {
    position: absolute;
    left: 58%;
    right: -42%;
    top: 13px;
    height: 2px;
    background: #E5E7EB;
    z-index: 0;
}

.mpay-timeline-line.active {
    background: #6366F1;
}

.mpay-timeline-label {
    font-size: 11px;
    color: #9CA3AF;
    font-weight: 600;
}

.mpay-timeline-label.current {
    color: #B45309;
}

.mpay-stage-description {
    font-size: 13px;
    color: #6B7280;
    line-height: 18px;
    margin-bottom: 10px;
}

.mpay-reminder-box {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #92400E;
    line-height: 17px;
}

.mpay-reminder-box .material-icons {
    font-size: 16px;
    color: #B45309;
    flex-shrink: 0;
}

.mpay-verifying-box {
    display: flex;
    gap: 10px;
    background: #EEF2FF;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
}

.mpay-verifying-box .material-icons {
    color: #4338CA;
    font-size: 20px;
}

.mpay-verifying-title {
    font-size: 14px;
    font-weight: 700;
    color: #4338CA;
    margin-bottom: 4px;
}

.mpay-verifying-meta {
    font-size: 12px;
    color: #4F46E5;
    margin-top: 2px;
}

.mpay-proof-preview {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #F3F4F6;
}

.mpay-paid-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ECFDF5;
    border-radius: 10px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #065F46;
}

.mpay-paid-box .material-icons {
    color: #10B981;
}

.mpay-form {
    margin-top: 4px;
}

.mpay-form-title {
    font-size: 15px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 4px;
}

.mpay-form-hint {
    font-size: 12px;
    color: #6B7280;
    line-height: 17px;
    margin-bottom: 12px;
}

.mpay-input-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.mpay-input {
    width: 100%;
    border: 1px solid #D1D5DB;
    border-radius: 10px;
    padding: 11px 12px;
    font-size: 15px;
    color: #1F2937;
    background: #fff;
    margin-bottom: 12px;
}

.mpay-file-input {
    display: none;
}

.mpay-upload-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px dashed #C7D2FE;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
    background: #F8FAFF;
    cursor: pointer;
    color: #6366F1;
    font-size: 14px;
    font-weight: 600;
}

.mpay-upload-area .material-icons {
    font-size: 20px;
}

.mpay-screenshot-preview {
    margin-bottom: 12px;
}

.mpay-screenshot-preview img {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 10px;
    background: #F3F4F6;
    margin-bottom: 8px;
}

.mpay-screenshot-preview.hidden,
.mpay-form-error.hidden {
    display: none;
}

.mpay-change-photo {
    border: none;
    background: none;
    color: #6366F1;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.mpay-submit-btn {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 14px 16px;
    background: #059669;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.mpay-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.mpay-submit-btn .material-icons {
    font-size: 18px;
}

.mpay-form-error {
    margin-top: 10px;
    font-size: 12px;
    color: #DC2626;
    line-height: 16px;
}

.mpay-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mpaySpin 0.7s linear infinite;
}

@keyframes mpaySpin {
    to { transform: rotate(360deg); }
}

.detail-info-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

.detail-info-copy-btn .material-icons {
    font-size: 16px;
    color: #6366F1;
}
