/* Quote Button Styles */


.quote-btn,
.elementor-quote-button {
    background: #2271b1;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 5px 0;
}

.quote-btn:hover,
.elementor-quote-button:hover {
    background: #135e96;
    color: white;
    text-decoration: none;
}

.quote-btn:disabled,
.elementor-quote-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.quote-btn.added,
.elementor-quote-button.added {
    background: #00a32a;
}

.quote-btn.in-quote,
.elementor-quote-button.in-quote {
    background: #dba617;
    color: white;
}

/* Elementor specific button content wrapper */
.elementor-quote-button .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.elementor-quote-button .elementor-button-icon {
    display: flex;
    align-items: center;
}

.elementor-quote-button .elementor-button-text {
    flex: 1;
}

/* Quote List Container */
#quote-list-container {
    margin: 20px 0;
}

#quote-list-container h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.no-quotes {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 20px 0;
}

/* Quote Items List */
.quote-items-list {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.quote-item {
    border-bottom: 1px solid #eee;
    background: white;
}

.quote-item:last-child {
    border-bottom: none;
}

.quote-item-content {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 15px;
}

.quote-item-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
}

.quote-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-item-details {
    flex: 1;
}

.quote-item-details h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #333;
}
.quote-item-details > h4 > a {
    text-decoration: none !important;
    font-family: "urbanist";
    font-weight: 700;
	color: #1e293b;
}

.quote-item-details h4 a:hover {
    color: #2271b1;
}

.quote-item-url {
    font-size: 12px;
    color: #666;
    margin: 0;
    word-break: break-all;
}

.quote-item-actions {
    flex-shrink: 0;
}
button.remove-quote-item {
    padding: 0;
    margin: 0;
    padding-bottom: 5px;
    padding-left: 1px;
}
.remove-quote-item {
    background: #dc3545;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.remove-quote-item:hover {
    background: #c82333;
}

/* Quote Actions */
#quote-actions {
    text-align: center;
    padding: 20px 0;
}

#submit-quote-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#submit-quote-btn:hover {
    background: #218838;
}

/* Modal Styles */
.quote-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.quote-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.quote-modal-content h3 {
    background: #2271b1;
    color: white;
    margin: 0;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    position: relative;
}

.quote-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.quote-close:hover {
    opacity: 0.7;
}

#quote-form {
    padding: 30px;
}

.quote-form-group {
    margin-bottom: 20px;
}

.quote-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.quote-form-group input,
.quote-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.quote-form-group input:focus,
.quote-form-group textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.1);
}

.quote-form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.quote-form-actions .button {
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quote-form-actions .button:hover {
    background: #f8f9fa;
}

.quote-form-actions .button-primary {
    background: #2271b1;
    color: white;
    border-color: #2271b1;
}

.quote-form-actions .button-primary:hover {
    background: #135e96;
    border-color: #135e96;
}

.quote-form-actions .button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Alert Styles */
#quote-alerts {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    max-width: 400px;
}

.quote-alert {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 6px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.quote-alert-success {
    background: #28a745;
}

.quote-alert-warning {
    background: #ffc107;
    color: #333;
}

.quote-alert-error {
    background: #dc3545;
}

.quote-alert-info {
    background: #17a2b8;
}

.alert-message {
    flex: 1;
    margin-right: 10px;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    opacity: 0.8;
    line-height: 1;
}

.alert-close:hover {
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .quote-item-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .quote-item-image {
        width: 60px;
        height: 60px;
    }
    
    .quote-item-actions {
        align-self: flex-end;
    }
    
    .quote-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    #quote-form {
        padding: 20px;
    }
    
    .quote-form-actions {
        flex-direction: column;
    }
    
    .quote-form-actions .button {
        width: 100%;
        text-align: center;
    }
    
    #quote-alerts {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .quote-btn {
        width: 100%;
        text-align: center;
    }
}