/**
 * Tech Repair Tabs Styles
 */

/* Container */
.tech-repair-tabs-container {
    margin-bottom: 30px;
    font-family: inherit;
}

.tech-repair-tabs-container * {
    box-sizing: border-box;
}

/* Row and Columns */
.tech-repair-row {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border: 1px solid #eee;
    padding: 20px;
}

.tech-repair-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.tech-repair-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
}

.tech-repair-col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-right: 15px;
    padding-left: 15px;
}

.tech-repair-col-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding-right: 15px;
    padding-left: 15px;
}


.tech-repair-tabs-container h1{
    font-size: 1.5em;
}

.tech-repair-tabs-container h2{
    font-size: 1.4em;
}
.tech-repair-tabs-container h3{
    font-size: 1.3em;
}
.tech-repair-tabs-container h4{
    font-size: 1.2em;
}
.tech-repair-tabs-container h5{
    font-size: 1.1em;
}
.tech-repair-tabs-container h6{
    font-size: 1em;
}

/* Responsive */
@media (max-width: 991px) {
    .tech-repair-col-3,
    .tech-repair-col-4,
    .tech-repair-col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767px) {
    .tech-repair-col-3,
    .tech-repair-col-4,
    .tech-repair-col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* Tabs */
.tech-repair-tabs {
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.tech-repair-tabs-title {
    margin: 0;
    padding: 15px;
    background-color: #222;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

/* Device List */
.tech-repair-devices-list,
.tech-repair-inner-tabs {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 400px;
    overflow-y: hidden;
}


.tech-repair-devices-list:hover,
.tech-repair-inner-tabs:hover {
    overflow-y: auto;
}

.tech-repair-devices-list li,
.tech-repair-inner-tabs li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e9ecef;
}

.tech-repair-devices-list li:last-child,
.tech-repair-inner-tabs li:last-child {
    border-bottom: none;
}

.tech-repair-devices-list li a,
.tech-repair-inner-tabs li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400;
}

.tech-repair-devices-list li a:hover,
.tech-repair-inner-tabs li a:hover {
    background-color: #f1f1f1;
    color: #007bff;
}

.tech-repair-devices-list li.active a,
.tech-repair-inner-tabs li.active a {
    background-color: #007bff;
    color: #fff;
    font-weight: 600;
}

/* Tab Content */
.tech-repair-tabs .tab-content {
    background-color: #fff;
}

.tech-repair-tabs .tab-pane {
    display: none;
}

.tech-repair-tabs .tab-pane.active {
    display: block;
}

/* Issue Content */
.tech-repair-issue-content {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    max-height: 259px;
    overflow: auto;
}

.tech-repair-issue-content p {
    margin: 0;
    line-height: 1.5;
}

/* Pricing Table */
.tech-repair-pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.tech-repair-pricing-table th,
.tech-repair-pricing-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
}

.tech-repair-pricing-table tr:last-child td {
    border-bottom: none;
}

.tech-repair-read-more{
    text-align: right;
    padding: 20px;
}

.tech-repair-read-more a{
    color: #222;
    border-bottom: 1px solid;
    font-weight: 600;
}

/* Order Button */
.tech-repair-order-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-transform: uppercase;
    width: 100%;
    border: #f2480c 2px solid ;
    background: #fff ;
}

.tech-repair-order-button:hover {
    background-color: #0069d9;
}

/* Scrollbar Styling */
.tech-repair-devices-list::-webkit-scrollbar,
.tech-repair-inner-tabs::-webkit-scrollbar {
    width: 5px;
}

.tech-repair-devices-list::-webkit-scrollbar-track,
.tech-repair-inner-tabs::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.tech-repair-devices-list::-webkit-scrollbar-thumb,
.tech-repair-inner-tabs::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

.tech-repair-devices-list::-webkit-scrollbar-thumb:hover,
.tech-repair-inner-tabs::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Стили для сокращенного текста и кнопки "Read more" */
body .tech-repair-read-more-wrapper {
    margin-top: 15px;
    text-align: right;
}




body .tech-repair-read-more {
    display: inline-flex;
    align-items: center;
    color: #222 !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #222;
    padding: 0;
    text-transform: uppercase;
    margin-bottom: 50px;
    margin-right: 10px;
}



body .tech-repair-read-more .dashicons {
    margin-right: 5px;
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
}

body .tech-repair-issue-content {
    position: relative;
}

body .tech-repair-truncated-content {
    position: relative;
}

body .tech-repair-full-content {
    position: relative;
}
