/* Mini Calculator Widget Styles */
.mini-calculator-widget {
    background: #fff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    font-family: inherit;
}

.mini-calculator-widget h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary, #D4AF37);
    font-size: 1.25rem;
    text-align: center;
}

.mc-search-container {
    position: relative;
    margin-bottom: 1rem;
}

.mc-search-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.mc-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.mc-result-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mc-result-item:hover {
    background: #f9f9f9;
}

.mc-selected-items {
    margin-bottom: 1rem;
    max-height: 150px;
    overflow-y: auto;
}

.mc-selected-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.mc-remove-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-weight: bold;
    padding: 0 0.5rem;
}

.mc-totals {
    display: flex;
    justify-content: space-around;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.mc-total-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mc-total-label {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: bold;
}

.mc-total-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-dark, #1f2937);
}

.mc-full-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary, #D4AF37);
    color: #fff;
    padding: 0.75rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.2s;
}

.mc-full-btn:hover {
    background: var(--primary-dark, #b08d2b);
    text-decoration: none;
    color: #fff;
}
