/**
 * @package     EasyStore.Site
 * @subpackage  com_easystore
 *
 * @copyright   Copyright (C) 2023 - 2026 JoomShaper <https://www.joomshaper.com>. All rights reserved.
 * @license     GNU General Public License version 3; see LICENSE
 */

.easystore-quote-modal-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999998;
    pointer-events: auto;
}

.easystore-quote-modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999998;
}

.easystore-quote-modal-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999999;
    background: #ffffff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.easystore-quote-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.easystore-quote-modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #222222;
}

.easystore-quote-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    color: #666666;
    padding: 0;
}

.easystore-quote-modal-close:hover {
    color: #000000;
}

.easystore-quote-product-summary {
    font-size: 0.9rem;
    color: #555555;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eeeeee;
}

.easystore-quote-sku-badge {
    display: block;
    font-size: 0.8rem;
    color: #888888;
    margin-top: 2px;
}

.easystore-quote-alert-success {
    padding: 16px;
    background: #e6f4ea;
    color: #137333;
    border-radius: 6px;
    text-align: center;
}

.easystore-quote-alert-success p {
    margin: 0 0 12px 0;
    font-weight: 500;
}

.easystore-quote-alert-error {
    padding: 10px;
    background: #fce8e6;
    color: #c5221f;
    border-radius: 4px;
    margin-bottom: 12px;
    font-size: 0.875rem;
}

.easystore-quote-form-group {
    margin-bottom: 12px;
}

.easystore-quote-form-group-last {
    margin-bottom: 16px;
}

.easystore-quote-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.easystore-quote-form-col-flex {
    flex: 1;
}

.easystore-quote-form-col-qty {
    width: 100px;
}

.easystore-quote-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: #333333;
}

.easystore-quote-input,
.easystore-quote-textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
    background: #ffffff;
    color: #333333;
    font-size: 0.9rem;
}

.easystore-quote-textarea {
    resize: vertical;
}

.easystore-quote-input:focus,
.easystore-quote-textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.easystore-quote-actions {
    text-align: right;
}

.easystore-quote-btn-cancel {
    margin-right: 8px;
}

.easystore-quote-honeypot {
    display: none !important;
}
