.tech-specs-redesign {
    padding: 80px 0;
    background-color: #fcfcfc;
    font-family: 'Inter', sans-serif;
}

.tsr-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.tsr-label {
    color: #e31e24;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.tsr-heading {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 60px;
}

.tsr-main {
    display: flex;
    gap: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tsr-sidebar {
    width: 280px;
    background: #fff;
    border-right: 1px solid #f0f0f0;
}

.tsr-tab {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f9f9f9;
}

.tsr-tab:last-child {
    border-bottom: none;
}

.tsr-tab img {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.tsr-tab span {
    font-size: 14px;
    font-weight: 600;
    color: #666;
    text-align: center;
}

.tsr-tab.active {
    background: #fff;
    box-shadow: inset 4px 0 0 #0056b3;
}

.tsr-tab:hover {
    background: #fafafa;
}

.tsr-tab.active span {
    color: #333;
}

.tsr-tab.active img {
    opacity: 1;
}

.tsr-mobile-tab {
    display: none;
    padding: 15px 20px;
    align-items: center;
    gap: 15px;
    background: #fff;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.tsr-mobile-tab img {
    width: 30px;
    height: 30px;
}

.tsr-mobile-tab span {
    font-size: 16px;
    font-weight: 600;
    color: #444;
}

.tsr-item.active .tsr-mobile-tab {
    border-left: 4px solid #e31e24;
    padding-left: 16px;
}

/* Content Area */
.tsr-content {
    flex: 1;
    padding: 50px 60px;
    min-height: 400px;
}

.tsr-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tsr-item.active .tsr-pane {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tsr-pane h3 {
    font-size: 22px;
    font-weight: 700;
    color: #444;
    margin-bottom: 25px;
}

.tsr-table {
    width: 100%;
    border-collapse: collapse;
}

.tsr-table td {
    padding: 12px 0;
    font-size: 15px;
    color: #555;
    vertical-align: top;
    border-bottom: 1px solid #f5f5f5;
}

.tsr-table tr:last-child td {
    border-bottom: none;
}

.tsr-table td:first-child {
    font-weight: 700;
    color: #333;
    width: 200px;
}

.tsr-docs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tsr-docs-grid a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.tsr-docs-grid a:hover {
    border-color: #0056b3;
    color: #0056b3;
    background: #fffafa;
}

.tsr-docs-grid a img {
    width: 24px;
    height: 24px;
}

/* Responsiveness */
@media (max-width: 991px) {
    .tsr-sidebar {
        display: none;
        /* Hide desktop sidebar on mobile */
    }

    .tsr-main {
        flex-direction: column;
        box-shadow: none;
        border: 1px solid #eee;
    }

    .tsr-mobile-tab {
        display: flex;
    }

    .tsr-content {
        padding: 0;
        min-height: auto;
    }

    .tsr-pane {
        padding: 25px 20px;
    }

    .tsr-pane h3 {
        display: none;
        /* Hide repeated heading in mobile accordion */
    }
}

@media (max-width: 767px) {
    .tsr-heading {
        font-size: 28px;
    }

    .tsr-table td:first-child {
        width: 120px;
    }

    .tsr-docs-grid {
        grid-template-columns: 1fr;
    }
}