/* Floating Quote Bar */
#wc-quote-floating-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2c3e50;
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

#wc-quote-floating-bar.visible {
    transform: translateY(0);
}

#wc-proceed-to-quote {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 15px;
    cursor: pointer;
    border-radius: 3px;
    font-weight: bold;
}

/* Quote Modal */
#quote-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.quote-modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 5px;
    position: relative;
    padding: 30px;
}

.close-quote-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

#quote-products-list {
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
}

.quote-product-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.remove-quote-item {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

/* Form styles */
#quote-request-form label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

#quote-request-form input,
#quote-request-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

#quote-request-form button[type="submit"] {
    background: #27ae60;
    color: white;
    border: none;
    padding: 12px 20px;
    margin-top: 15px;
    cursor: pointer;
    border-radius: 3px;
    font-weight: bold;
}

/* Response messages */
#quote-response-message .loading {
    color: #3498db;
}

#quote-response-message .success {
    color: #27ae60;
}

#quote-response-message .error {
    color: #e74c3c;
}

/* Quote Request Page Styles */
.quote-request-page {
    width: 95%;
    padding: 60px;
    background: linear-gradient(120deg, #f8fafc 0%, #e9f0fb 100%);
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
}

.quote-request-page .container {
    width: 95% !important;
    max-width: none !important;
    margin: 0 auto;
    padding: 0 20px;
}

.quote-request-page h1 {
    text-align: center;
    margin-bottom: 48px;
    font-size: 2.5rem;
    color: #1a2947;
    font-weight: 700;
    letter-spacing: 1px;
}

.quote-request-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* Card Style for Columns */
.quote-products-column, .quote-form-column {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(30, 42, 90, 0.10);
    padding: 36px 32px 32px 32px;
    transition: box-shadow 0.2s;
}

.quote-products-column:hover, .quote-form-column:hover {
    box-shadow: 0 12px 40px rgba(30, 42, 90, 0.13);
}

.quote-products-section h2, .quote-form-section h2 {
    margin-bottom: 22px;
    font-size: 1.35rem;
    color: #1a2947;
    font-weight: 600;
    border-bottom: 2px solid #f0f4fa;
    padding-bottom: 10px;
    letter-spacing: 0.5px;
}

/* Product List */
.quote-products-list {
    margin-bottom: 32px;
}

.quote-product-item {
    display: flex;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f2f4f8;
    transition: background 0.2s;
}

.quote-product-item:last-child {
    border-bottom: none;
}

.quote-product-item:hover {
    background: #f6faff;
}

.quote-product-item .product-image {
    width: 70px;
    height: 70px;
    margin-right: 18px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(30, 42, 90, 0.07);
    background: #f4f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-product-item .product-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.quote-product-item .product-details {
    flex: 1;
}

.quote-product-item h3 {
    margin: 0 0 6px;
    font-size: 1.08rem;
    color: #1a2947;
    font-weight: 500;
}

.quote-product-item .product-meta {
    font-size: 0.95rem;
    color: #6b7a99;
    margin-bottom: 6px;
}

.quote-product-item .remove-quote-item {
    color: #e74c3c;
    text-decoration: none;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    background: #fbeaea;
    border-radius: 6px;
    padding: 6px 12px;
    margin-left: 12px;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.quote-product-item .remove-quote-item:hover {
    background: #f8d7da;
    color: #c82333;
}

.quote-product-item .remove-quote-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    margin-right: 4px;
}

.add-more-products {
    text-align: center;
}

.add-more-products .button {
    display: inline-flex;
    align-items: center;
    padding: 13px 28px;
    background: linear-gradient(90deg, #4f8cff 0%, #2ec7b8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(30, 42, 90, 0.07);
    transition: background 0.2s;
}

.add-more-products .button:hover {
    background: linear-gradient(90deg, #2ec7b8 0%, #4f8cff 100%);
}

.add-more-products .button .dashicons {
    margin-right: 8px;
}

/* Form Styles */
.quote-form-section h2 {
    margin-bottom: 22px;
}

.form-row {
    margin-bottom: 22px;
}

.form-row label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 500;
    color: #1a2947;
    font-size: 1.05rem;
}

.form-row label .dashicons {
    margin-right: 8px;
    color: #4f8cff;
    font-size: 1.2em;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e0e6f7;
    border-radius: 8px;
    font-size: 1.05rem;
    background: #f8fafc;
    color: #1a2947;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(30, 42, 90, 0.03);
}

.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row input[type="tel"]:focus,
.form-row textarea:focus {
    border-color: #4f8cff;
    outline: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(30, 42, 90, 0.07);
}

.form-row textarea {
    min-height: 120px;
    resize: vertical;
}

.form-row .required {
    color: #e74c3c;
    margin-left: 4px;
}

.submit-row {
    margin-top: 32px;
}

.submit-row .button {
    display: inline-flex;
    align-items: center;
    padding: 15px 32px;
    background: linear-gradient(90deg, #4f8cff 0%, #2ec7b8 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(30, 42, 90, 0.07);
    transition: background 0.2s;
}

.submit-row .button:hover {
    background: linear-gradient(90deg, #2ec7b8 0%, #4f8cff 100%);
}

.submit-row .button .dashicons {
    margin-right: 10px;
    font-size: 1.2em;
}

#quote-response-message {
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    display: none;
}

#quote-response-message.success {
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    color: #3c763d;
}

#quote-response-message.error {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
}

#quote-response-message .explore-more {
    margin-top: 20px;
    text-align: center;
}

#quote-response-message .explore-more .button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

#quote-response-message .explore-more .button:hover {
    background: #135e96;
}

#quote-response-message .explore-more .dashicons {
    margin-right: 8px;
}

.no-products {
    color: #6b7a99;
    font-size: 1.08rem;
    text-align: center;
    margin: 32px 0 0 0;
}

/* Responsive Design */
@media (max-width: 900px) {
    .quote-request-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .quote-products-column, .quote-form-column {
        margin-bottom: 32px;
        padding: 28px 12px 24px 12px;
    }
}

@media (max-width: 600px) {
    .quote-request-page .container {
        padding: 0 4px;
    }
    .quote-products-column, .quote-form-column {
        padding: 14px 2px 12px 2px;
    }
    .quote-request-page h1 {
        font-size: 1.5rem;
    }
}

/* Admin Quote Requests Table Styles */
.wp-list-table .column-name {
    width: 20%;
}

.wp-list-table .column-products {
    width: 30%;
}

.wp-list-table .column-date {
    width: 15%;
}

.wp-list-table .column-status {
    width: 15%;
}

.wp-list-table .column-actions {
    width: 20%;
}

.wp-list-table .row-actions {
    visibility: visible;
    position: relative;
    left: 0;
    padding: 0;
    margin: 0;
}

.wp-list-table .row-actions span {
    padding: 0 4px;
}

.wp-list-table .row-actions span:not(:last-child)::after {
    content: "|";
    margin-left: 4px;
    color: #ddd;
}

/* Quote Request Details Modal */
.quote-details-modal {
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.quote-details-modal h2 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.quote-details-section {
    margin-bottom: 30px;
}

.quote-details-section h3 {
    margin-bottom: 15px;
    color: #333;
}

.quote-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.quote-detail-item {
    margin-bottom: 15px;
}

.quote-detail-item label {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
    color: #666;
}

.quote-detail-item .value {
    color: #333;
}

.quote-products-list {
    margin-top: 15px;
}

.quote-product-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 10px;
}

.quote-product-item .product-image {
    width: 60px;
    margin-right: 15px;
}

.quote-product-item .product-details {
    flex: 1;
}

.quote-product-item h4 {
    margin: 0 0 5px;
    font-size: 14px;
}

.quote-product-item .product-meta {
    font-size: 12px;
    color: #666;
}

.quote-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.quote-actions .button {
    margin-left: 10px;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #cce5ff;
    color: #004085;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Floating Quote Bar */
#wc-quote-floating-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    text-align: center;
}

#wc-quote-floating-bar .quote-count {
    margin-right: 15px;
}

/* Quote Button Styles */
.request-quote-button,
.proceed-to-quote {
    display: inline-block;
    padding: 10px 20px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.request-quote-button:hover,
.proceed-to-quote:hover {
    background: #135e96;
    color: #fff;
}

.proceed-to-quote {
    background: #46b450;
}

.proceed-to-quote:hover {
    background: #3a9e43;
}