/* Quote Modal Styles */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background-color: #e63946;
    color: white;
    border-radius: 10px 10px 0 0;
    border-bottom: none;
}

.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 2rem;
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #e63946;
    box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.25);
}

.form-select {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.75rem;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-select:focus {
    border-color: #e63946;
    box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.25);
}

.modal-footer {
    border-top: 1px solid #eee;
    padding: 1.5rem 2rem;
}

.btn-primary {
    background-color: #e63946;
    border-color: #e63946;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #c92a3f;
    border-color: #c92a3f;
    transform: translateY(-1px);
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

/* Loading state */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
    }
}