/* Addify Quote Modal Styles */
.addify-quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
}

.addify-quote-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.addify-quote-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 450px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: addify-quote-modal-slide-in 0.3s ease-out;
}

@keyframes addify-quote-modal-slide-in {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.addify-quote-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #e5e5e5;
}

.addify-quote-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.addify-quote-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.addify-quote-modal-close:hover {
    background-color: #f5f5f5;
    color: #333;
}

.addify-quote-modal-close-icon {
    line-height: 1;
}

.addify-quote-modal-content {
    padding: 20px 25px 25px;
}

.addify-quote-modal-message {
    text-align: center;
    margin-bottom: 25px;
}

.addify-quote-modal-success-icon {
    width: 60px;
    height: 60px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 15px;
    animation: addify-quote-modal-bounce 0.6s ease-out;
}

@keyframes addify-quote-modal-bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -30px, 0);
    }
    70% {
        transform: translate3d(0, -15px, 0);
    }
    90% {
        transform: translate3d(0, -4px, 0);
    }
}

.addify-quote-modal-message h4 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #333;
    font-weight: 600;
}

.addify-quote-modal-message p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.addify-quote-modal-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
}

.addify-quote-modal-item-thumbnail {
    flex-shrink: 0;
    margin-right: 15px;
}

.addify-quote-modal-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

.addify-quote-modal-item-details {
    flex: 1;
    min-width: 0;
}

.addify-quote-modal-item-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.2;
    color: #222222;
}

.addify-quote-modal-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
}

.addify-quote-modal-item-qty-label {
    font-weight: 500;
}

.addify-quote-modal-item-qty-value {
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: #333;
}

.addify-quote-modal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.addify-quote-modal-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
    line-height: 1.4;
}

.addify-quote-modal-btn-primary {
    background: #fff;
    color: #00f4bb;
    border: 2px solid #00f4bb;
}

.addify-quote-modal-btn-primary:hover {
    background: #00f4bb;
    color: white;
    text-decoration: none;
}

.addify-quote-modal-btn-secondary {
    background: #fff;
    color: #00f4bb;
    border: 2px solid #00f4bb;
}

.addify-quote-modal-btn-secondary:hover {
    background: #00f4bb;
    color: white;
    text-decoration: none;
}

/* Body class when modal is open */
body.addify-quote-modal-open {
    overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .addify-quote-modal-container {
        width: 95%;
        margin: 20px;
        max-height: 80vh;
    }
    
    .addify-quote-modal-content {
        padding: 20px;
    }
    
    .addify-quote-modal-actions {
        flex-direction: column;
    }
    
    .addify-quote-modal-btn {
        flex: none;
        width: 100%;
    }
    
    .addify-quote-modal-item {
        flex-direction: column;
        text-align: center;
    }
    
    .addify-quote-modal-item-thumbnail {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .addify-quote-modal-container {
        width: 98%;
        margin: 10px;
    }
    
    .addify-quote-modal-content {
        padding: 15px;
    }
    
    .addify-quote-modal-header {
        padding: 15px 20px 10px;
    }
    
    .addify-quote-modal-title {
        font-size: 16px;
    }
}
