/* CSS per il Modale Asta Fullscreen */
.auction-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #f8fafc;
    z-index: 1050;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.auction-modal-overlay.open {
    opacity: 1;
    transform: translateY(0);
}

.auction-modal-header {
    background: #fff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.btn-modal-close {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-right: 1.5rem;
    transition: background 0.2s;
}

.btn-modal-close:hover {
    background: #e2e8f0;
}

.modal-title-bar h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.modal-title-bar span {
    font-size: 0.85rem;
    color: #64748b;
}

.auction-modal-body {
    padding: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.modal-desc-card, .modal-specs-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.modal-desc-card h3, .modal-specs-card h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.modal-desc-card p {
    color: #475569;
    line-height: 1.6;
    white-space: pre-line;
}

.modal-spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.modal-spec-row:last-of-type {
    border-bottom: none;
}

.modal-spec-row span {
    color: #64748b;
    font-size: 0.9rem;
}

.modal-spec-row strong {
    color: #0f172a;
}

@media (max-width: 768px) {
    .auction-modal-body {
        padding: 1rem;
    }
    .modal-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .auction-modal-header {
        padding: 0.75rem 1rem;
    }
    .btn-modal-close {
        margin-right: 1rem;
    }
}
