/* Compiled fallback: Shared styles for services and related views
   This file was created as a runtime fallback so the views load immediately
   without having to run the asset pipeline. In production prefer compiling
   with Mix and serving the compiled file. */

body {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #222;
}

.header {
    background: #007bff;
    color: #fff;
    padding: 10px 20px;
}

.section-title {
    background: #f0f0f0;
    font-weight: bold;
    padding: 6px 10px;
    margin-top: 18px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

th,
td {
    padding: 4px 8px;
}

th {
    background: #f8f8f8;
}

.bordered th,
.bordered td {
    border: 1px solid #ccc;
}

.firma {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
    margin-top: 10px;
}

.firma img {
    max-width: 220px;
    max-height: 80px;
}

.row {
    display: flex;
}

.col {
    flex: 1;
    padding: 0 10px;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 12px;
}

.mb-4 {
    margin-bottom: 24px;
}

.small {
    font-size: 11px;
    color: #666;
}

.actions-table th {
    text-align: right;
    width: 30%;
    max-width: 30%;
    vertical-align: top;
}

.actions-table td {
    width: 70%;
}

.service-images-modal .carousel-control-prev,
.service-images-modal .carousel-control-next {
    width: 4rem !important;
    height: 100% !important;
    top: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
}

.service-images-modal .carousel-control-prev-icon,
.service-images-modal .carousel-control-next-icon {
    width: 2.2rem !important;
    height: 2.2rem !important;
    display: inline-block !important;
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23007bff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M11 3 L5 8 L11 13'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    opacity: 1 !important;
    box-shadow: none !important;
    border-radius: 50% !important;
    background-color: transparent !important;
}

.service-images-modal .carousel-control-next-icon {
    transform: rotate(180deg) !important;
}

.service-images-modal .carousel-control-prev,
.service-images-modal .carousel-control-next {
    z-index: 1050 !important;
}

.service-images-modal .modal-dialog {
    max-width: 90vw !important;
    margin: 1.5rem auto !important;
}

.service-images-modal .modal-content {
    background: #000 !important;
}

.service-images-modal .carousel,
.service-images-modal .carousel-inner {
    max-height: calc(100vh - 180px) !important;
}

.service-images-modal .carousel-item {
    text-align: center;
    height: auto !important;
}

.service-images-modal .carousel-item img {
    max-height: calc(100vh - 220px) !important;
    max-width: calc(100vw - 120px) !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
