/* My Quotes Page Styles */
.woocommerce-MyAccount-content .qb2b-my-quotes-container {
    padding: 0;
}

.qb2b-my-quotes-container {
    max-width: 100%;
}

.quotes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.quotes-header h2 {
    margin: 0;
    font-size: 24px;
    color: #1e1e1e;
}

.quotes-header .button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quotes-header .button .dashicons {
    font-size: 18px;
    margin-right: 5px;
}

.quotes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quote-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.quote-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.quote-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
}

.quote-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.quote-number {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e1e1e;
}

.quote-date {
    font-size: 13px;
    color: #666;
}

.status-badge {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
}

.status-badge.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-badge.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-badge.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

.quote-card-body {
    padding: 20px;
}

.quote-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.summary-item .label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-item .value {
    font-size: 15px;
    font-weight: 600;
    color: #1e1e1e;
}

.quote-items h4,
.quote-notes h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.items-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.items-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.items-list li:last-child {
    border-bottom: none;
}

.item-name {
    color: #1e1e1e;
    font-size: 14px;
}

.item-quantity {
    font-weight: 600;
    color: #0073aa;
    font-size: 14px;
}

.quote-notes {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

.quote-notes p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.quote-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    gap: 10px;
}

.quote-status-text {
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* No Quotes State */
.no-quotes-found {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.no-quotes-found .dashicons {
    font-size: 64px;
    width: 64px;
    height: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.no-quotes-found h3 {
    margin: 0 0 10px 0;
    color: #1e1e1e;
    font-size: 20px;
}

.no-quotes-found p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .quotes-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .quotes-header h2 {
        font-size: 20px;
    }
    
    .quote-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .quote-card-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quote-card-footer .button {
        width: 100%;
        justify-content: center;
    }
    
    .quote-summary {
        grid-template-columns: 1fr;
    }
}


/* Proceed to Checkout Button - Professional Blue */
.proceed-to-checkout-quote {
    display: inline-block;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    background-color: #0073aa !important;
    color: #ffffff !important;
    border: 2px solid #0073aa;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.proceed-to-checkout-quote:hover {
    background-color: #005177;
    border-color: #005177;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
}

.proceed-to-checkout-quote:focus {
    outline: 2px solid #0073aa;
    outline-offset: 2px;
}

.proceed-to-checkout-quote:disabled {
    background-color: #e0e0e0;
    border-color: #e0e0e0;
    color: #999 !important;
    cursor: not-allowed;
}
