﻿.gommista-area-page {
    background: #f7f8fa;
    min-height: 70vh;
}

.gommista-area-page .card {
    background: #fff;
}

.gommista-progress {
    height: .7rem;
    background: #e9ecef;
}

.gommista-progress .progress-bar {
    background: #198754;
}

.gommista-stat {
    height: 100%;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    background: #fff;
}

.gommista-stat__value {
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 800;
    color: #111827;
}

.gommista-stat__label {
    margin-top: .45rem;
    color: #6c757d;
    font-size: .82rem;
}

.gommista-service-choice {
    background: #fbfbfc;
    transition: border-color .15s ease, background-color .15s ease;
}

.gommista-service-choice:has(.form-check-input:checked) {
    border-color: #198754 !important;
    background: #f4fbf7;
}

.gommista-area-sidebar {
    top: 6.5rem;
}

.gommista-area-page textarea {
    resize: vertical;
}

.gommista-area-page .form-check-input {
    width: 1.05em;
    height: 1.05em;
}

.gommista-area-page .form-switch .form-check-input {
    width: 2em;
}

@media (max-width: 1199.98px) {
    .gommista-area-sidebar {
        position: static !important;
    }
}


.gommista-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #111827;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}

.gommista-area-page .alert a {
    color: inherit;
}


/* Fase 9 - logo e foto officina */
.gommista-upload-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    border: 1px dashed #ced4da;
    border-radius: 1rem;
    background: #f8f9fa;
}

.gommista-upload-preview-logo {
    min-height: 210px;
}

.gommista-upload-preview-photo {
    aspect-ratio: 16 / 9;
    min-height: 220px;
}

.gommista-area-logo-preview {
    display: block;
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.gommista-area-photo-preview {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .gommista-upload-preview-logo {
        min-height: 180px;
    }

    .gommista-upload-preview-photo,
    .gommista-area-photo-preview {
        min-height: 190px;
    }
}
