.vira-quote-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    font-family: sans-serif;
}

.vira-quote-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 650px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.vira-quote-modal-content .close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.vira-quote-modal-content .close:hover,
.vira-quote-modal-content .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Header Section */
.vira-quote-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.vira-quote-image {
    flex: 0 0 120px;
}

.vira-quote-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    border: 1px solid #eee;
}

.vira-quote-title-section {
    flex: 1;
}

.vira-quote-label {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

#vira-quote-modal-title {
    margin: 0;
    font-size: 22px;
    color: #003366; /* Dark blue color */
    font-weight: 700;
    line-height: 1.3;
}

/* Divider */
.vira-quote-divider {
    height: 1px;
    background-color: #eee;
    margin: 0 0 20px 0;
}

/* Message Box */
.vira-quote-message-box {
    font-size: 14px;
    font-style: italic;
    color: #555;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.5;
}

.vira-quote-message-box .company-name {
    font-weight: bold;
    color: #0056b3; /* Highlight color for company name */
}

/* Form Styles */
    .vira-quote-form-layout {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px; /* Negative margin for gutter */
}

.vira-quote-form-container .form-group {
    margin-bottom: 15px;
    padding: 0 10px; /* Gutter padding */
    box-sizing: border-box;
}

.vira-quote-form-container .form-group.width-100 {
    width: 100%;
}

.vira-quote-form-container .form-group.width-50 {
    width: 50%;
}

.vira-quote-form-container .form-group.button-group {
    margin-top: 10px;
}

.vira-quote-form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.vira-quote-form-container input[type="text"],
.vira-quote-form-container input[type="email"],
.vira-quote-form-container input[type="tel"],
.vira-quote-form-container input[type="number"],
.vira-quote-form-container textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.vira-quote-form-container input:focus,
.vira-quote-form-container textarea:focus {
    border-color: #0056b3;
    outline: none;
}
    
/* Button Styles */
.vira-quote-button {
    background-color: #d32f2f; /* Default red, will be overridden by inline CSS */
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600 !important;
    font-family: inherit;
    transition: background 0.3s;
    display: inline-block;
    line-height: normal;
}

.vira-quote-button:hover {
    background-color: #b71c1c; /* Default darker red */
    color: white;
}

.vira-quote-form-container button[type="submit"] {
    background-color: #d32f2f;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.3s;
    width: 100%;
}

.vira-quote-form-container button[type="submit"]:hover {
    background-color: #b71c1c;
}

#vira-quote-message {
    margin-top: 15px;
    text-align: center;
}

.success {
    color: green;
    font-weight: 500;
}

.error {
    color: red;
    font-weight: 500;
}

.vira-quote-form-container button[type="submit"].is-loading,
.vira-quote-form-container button[type="submit"]:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.vira-quote-result-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.92);
    z-index: 10000;
    border-radius: 8px;
}

.vira-quote-result-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 24px;
    width: 94%;
    max-width: 94%;
    text-align: center;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.vira-quote-result-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.vira-quote-result-title {
    font-family: inherit;
    font-size: 18px;
    font-weight: 800;
    color: #222;
    margin-bottom: 6px;
}

.vira-quote-result-text {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.vira-result-product {
    margin: 10px 0;
    font-size: 14px;
}

.vira-result-product-label {
    color: #6b7280;
    font-weight: 600;
}

.vira-result-product-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--porto-primary-color);
    display: inline-block;
    vertical-align: baseline;
}

.vira-result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
    text-align: left;
    font-size: 14px;
}
.vira-result-table th,
.vira-result-table td {
    border: 1px solid #e5e7eb;
    padding: 8px 10px;
}
.vira-result-table th {
    background: #f3f4f6;
    width: 32%;
    font-weight: 700;
}
.vira-result-actions {
    margin-top: 14px;
}
.vira-result-actions .button-primary {
    background-color: #26C281;
    border-color: #26C281;
    font-weight: 700;
    padding: 8px 18px;
}
