/* Custom styly pro komponentu ověření názvu - odpovídá designu webu */
.box-no-hover:hover {
    transform: none !important;
    -webkit-transform: none !important;
    -moz-transform: none !important;
}
/* Reset margin-left pro box v sekci ověření názvu */
section.services:has(.box-no-hover) .box-no-hover p {
    margin-left: 0 !important;
}
/* Fallback pro prohlížeče bez podpory :has() */
.box-no-hover p {
    margin-left: 0 !important;
}
#nameCheckForm .alert {
    border-radius: 0px;
    padding: 20px;
}
#nameCheckForm .alert h5,
#nameCheckForm .alert p {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
#nameCheckForm .alert-success { 
    background-color: #d4edda;
    border-color: #26ace3;
    color: #155724;
}
#nameCheckForm .alert-danger {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}
#nameCheckForm .alert-warning {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}
#nameCheckForm .table {
    border-radius: 0px;
    margin-top: 15px;
}
#nameCheckForm .table thead {
    background-color: #26ace3;
    color: white;
}
#nameCheckForm .table thead th {
    border: none;
    padding: 15px 10px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}
#nameCheckForm .table tbody tr {
    transition: 0.3s;
}
#nameCheckForm .table tbody tr:hover {
    background-color: #f8f9fa;
}
#nameCheckForm .table tbody td {
    padding: 12px 10px;
    vertical-align: middle;
}
#nameCheckForm .badge {
    border-radius: 0px;
    padding: 6px 12px;
    font-weight: 700;
}
#nameCheckForm .card {
    border-radius: 0px;
    box-shadow: 10px 10px 15px rgba(73, 78, 92, 0.1);
    border: none;
}
#nameCheckForm .card-header {
    background-color: #fff3cd;
    border: none;
    border-radius: 0px;
    padding: 15px 20px;
}

/* Styly pro výběr typu sídla */
.sidlo-typ-box {
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 0px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.sidlo-typ-box:hover {
    border-color: #26ace3;
    background-color: #f8f9fa;
}

.sidlo-typ-box.selected {
    border-color: #26ace3;
    background-color: #f8f9fa;
}

.sidlo-typ-box input[type="radio"] {
    margin: 0;
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #26ace3;
    border-radius: 50%;
    background-color: transparent;
    position: relative;
    flex-shrink: 0;
}

.sidlo-typ-box input[type="radio"]:checked {
    background-color: #26ace3;
    border-color: #26ace3;
}

.sidlo-typ-box input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

.sidlo-typ-box label {
    cursor: pointer;
    font-weight: 500;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    align-items: center;
}

/* Styly pro zvýhodněná sídla */
.zvysene-sidlo-box {
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 0px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-start;
}

.zvysene-sidlo-box:hover {
    border-color: #26ace3;
    background-color: #f8f9fa;
}

.zvysene-sidlo-box.selected {
    border-color: #26ace3;
    background-color: #f8f9fa;
    border-width: 1px;
}

.zvysene-sidlo-box input[type="radio"] {
    margin: 0;
    margin-right: 12px;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #26ace3;
    border-radius: 50%;
    background-color: transparent;
    position: relative;
    flex-shrink: 0;
}

.zvysene-sidlo-box input[type="radio"]:checked {
    background-color: #26ace3;
    border-color: #26ace3;
}

.zvysene-sidlo-box input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: white;
}

.zvysene-sidlo-box label {
    cursor: pointer;
    font-weight: 500;
    display: block;
    flex: 1;
    margin: 0;
    padding: 0;
}

.zvysene-sidlo-box .sidlo-adresa {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 6px;
    line-height: 1.4;
}

.zvysene-sidlo-box .sidlo-varianta {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 8px;
    line-height: 1.4;
}

.zvysene-sidlo-box .sidlo-cena-wrapper {
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
    margin-top: 10px;
}

.zvysene-sidlo-box .sidlo-cena {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
}

.zvysene-sidlo-box .sidlo-cena-stara {
    color: #6c757d;
    text-decoration: line-through;
    margin-left: 8px;
    font-size: 13px;
    font-weight: 400;
}

.zvysene-sidlo-box .sidlo-badge {
    font-size: 12px;
    color: #28a745;
    margin-top: 5px;
    font-weight: 500;
}

.zvysene-sidlo-box .sidlo-detail-link {
    color: #26ace3;
    font-size: 16px;
    margin-left: 10px;
    padding: 5px;
    text-decoration: none;
    transition: all 0.2s;
}

.zvysene-sidlo-box .sidlo-detail-link:hover {
    color: #229acc;
}

/* Styly pro checkbox zvýhodněné ceny */
.zvysene-cena-checkbox-wrapper {
    padding: 15px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0px;
}

.zvysene-cena-checkbox-wrapper .form-check {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.zvysene-cena-checkbox-wrapper input[type="checkbox"] {
    margin: 0;
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid #26ace3;
    border-radius: 2px;
    background-color: transparent;
    position: relative;
    flex-shrink: 0;
}

.zvysene-cena-checkbox-wrapper input[type="checkbox"]:checked {
    background-color: #26ace3;
    border-color: #26ace3;
}

.zvysene-cena-checkbox-wrapper input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.zvysene-cena-checkbox-wrapper label {
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    color: #212529;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex: 1;
}

.zvysene-cena-checkbox-wrapper label i.fa-star {
    margin-right: 8px;
    color: #ffc107;
    font-size: 16px;
}

.zvysene-cena-checkbox-wrapper .zvysene-cena-info {
    display: block;
    margin-left: 54px; /* checkbox (18px) + margin (12px) + ikona (16px) + margin ikony (8px) = 54px - zarovnání pod textem labelu */
    margin-top: 5px;
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
    padding-left: 0;
}

.zvysene-cena-checkbox-wrapper .zvysene-cena-info i {
    margin-right: 5px;
    color: #6c757d;
}
