/*
 * oferta-biuro.css  (P1-13, 2026-06-21)
 * Wyodrębniony bajt-identyczny blok <style> z oferta_biuro_{ksiegowe,vo,kadry}.php
 * (wcześniej 3x zduplikowany inline = 555 linii). Styl modala wyceny biura.
 * ŹRÓDŁO PRAWDY — edytuj tutaj, nie inline w .php.
 */
/* Style modala wyceny - zgodne z modalem "Załóż firmę z Fengo" */
.wycena-modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.wycena-modal-header {
    border-bottom: none;
    padding: 2rem 2rem 1rem;
    background: transparent;
}

.wycena-modal-header .modal-title {
    font-weight: 700;
    font-size: 1.4rem;
    color: #1a1a2e;
}

.wycena-modal-body {
    padding: 0 2rem 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

/* Sekcje formularza */
.wycena-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.wycena-section-title {
    font-weight: 600;
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

/* Inputy Bootstrap override */
#wycenaModal .form-control,
#wycenaModal .form-select {
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.625rem 0.875rem;
}

#wycenaModal .form-control:focus,
#wycenaModal .form-select:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

#wycenaModal .form-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.4rem;
}

#wycenaModal .form-text {
    font-size: 0.8rem;
    color: #6b7280;
}

#wycenaModal .input-group-text {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    color: #6b7280;
}

#wycenaModal .input-group .form-control {
    border-radius: 8px 0 0 8px;
}

/* Radio i checkbox */
#wycenaModal .form-check-input:checked {
    background-color: #8b5cf6;
    border-color: #8b5cf6;
}

#wycenaModal .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

/* Alert */
#wycenaModal .alert-light {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

/* Przycisk submit - fioletowy gradient */
.wycena-submit-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    padding: 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wycena-submit-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
    color: white;
}

.wycena-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Animacja sukcesu */
#wycenaSuccess .bi-check-circle-fill {
    animation: scaleIn 0.3s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile styles */
@media (max-width: 576px) {
    #wycenaModal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .wycena-modal-header {
        padding: 1.5rem 1.5rem 0.75rem;
    }

    .wycena-modal-header .modal-title {
        font-size: 1.2rem;
    }

    .wycena-modal-body {
        padding: 0 1.25rem 1.5rem;
        max-height: calc(100vh - 150px);
    }

    .wycena-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .wycena-section-title {
        font-size: 0.95rem;
    }

    #wycenaModal .row > div {
        margin-bottom: 0.5rem;
    }
}

/* Tablet */
@media (min-width: 577px) and (max-width: 991px) {
    .wycena-modal-body {
        max-height: 65vh;
    }
}

/* Desktop */
@media (min-width: 992px) {
    #wycenaModal .modal-dialog {
        max-width: 700px;
    }
}
