/* shopAccount/public/assets/css/order/confirmOrder.css */

.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-modal-box {
    background: #ffffff;
    width: 90%;
    max-width: 480px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: fadeInModal 0.25s ease-out;
}

@keyframes fadeInModal {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.confirm-modal-header {
    background: #007bff;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.confirm-modal-header h3 {
    margin: 0;
    font-size: 16px;
}

.btn-close-modal {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.confirm-modal-body {
    padding: 20px;
}

.confirm-status-box {
    text-align: center;
    padding: 20px;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    margin: 0 auto 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.confirm-info-list p {
    margin: 8px 0;
    font-size: 14px;
}

.text-price { color: #d9534f; font-size: 16px; }
.text-success { color: #28a745; }
.text-danger { color: #dc3545; }

.alert-msg {
    padding: 10px;
    border-radius: 4px;
    font-size: 13px;
    margin-top: 10px;
}

.alert-msg.warning { background: #fff3cd; color: #856404; }
.alert-msg.error { background: #f8d7da; color: #721c24; }

.btn-recharge-now {
    display: inline-block;
    padding: 8px 16px;
    background: #28a745;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.confirm-success-box {
    text-align: center;
}

.success-icon { font-size: 40px; margin-bottom: 8px; }

.delivered-textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    font-family: monospace;
    margin-top: 8px;
}

.btn-view-order-detail {
    display: inline-block;
    margin-top: 12px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.confirm-modal-footer {
    padding: 12px 16px;
    background: #f8f9fa;
    text-align: right;
}

.confirm-modal-footer button {
    padding: 8px 16px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    margin-left: 8px;
}

.btn-confirm-secondary { background: #6c757d; color: #fff; }
.btn-confirm-primary { background: #28a745; color: #fff; }