/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'SF Pro Display';
    background-color: #f4f4f6;
    min-height: 100vh;
    overflow-x: hidden;
}
.qform-video-widget {
    top: 50%;
    display: none !important;
}
.widget-open .qform-video-widget {
    display: block !important;
}

.container {
    position: relative;
    width: 100%;
    min-height: 1005px;
    max-width: 1920px;
    margin: 0 auto;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    padding: 12px;
    padding-bottom: 20px;
    left: 0;
    top: 0;
    width: 244px;
    height: 100vh;
    background-color: white;
    border-right: 2px solid #ececec;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    /* position: absolute;
    left: 12px;
    top: 12px;
    width: 164px;
    height: 58px; */
    margin-bottom: 32px;
    max-width: 164px;
    display: block;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Company Info Card */
.company-info {
    /* position: absolute;
    left: 12px;
    top: 102px;
    width: 220px;
    height: 93px; */
    background-color: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 15px;
}

.company-name {
    font-weight: 700;
    font-size: 14px;
    color: #010103;
    margin-bottom: 4px;
}

.company-branch {
    font-weight: 510;
    font-size: 12px;
    color: #757678;
    margin-bottom: 8px;
}

.company-person {
    font-weight: 700;
    font-size: 12px;
    color: #010103;
}

/* Equipment Card */
.equipment-card {
    /* position: absolute;
    left: 12px;
    top: 98px;
    width: 220px; */
    background-color: white;
    border-radius: 12px;
    padding: 16px 4px 4px 4px;
    border: 1px solid #e8e8e8;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    margin-bottom: 4px;
}

.breadcrumb svg {
    width: 14px;
    height: 14px;
}

.breadcrumb-text {
    font-weight: 510;
    font-size: 12px;
    color: #757678;
}

.equipment-info {
    
}

.equipment-divider {
    height: 1px;
    background-color: #e8e8e8;
    margin: 12px 12px;
}

.equipment-name-section {
    padding: 0 12px;
    margin-bottom: 12px;
}

.equipment-name {
    font-weight: bold;
    font-size: 14px;
    color: #010103;
    margin-bottom: 4px;
}

.equipment-power {
    font-weight: 510;
    font-size: 12px;
    color: #757678;
}

/* Sidebar Navigation */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    margin: 0 auto;
}

.sidebar-nav-item {
    background-color: #f3f3fb;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sidebar-nav-item.active {
    background-color: #f3f3fb;
}

.sidebar-nav-item:not(.active) {
    background-color: white;
}

.sidebar-nav-item:hover {
    background-color: #eeeef9;
}

.sidebar-nav-item svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.sidebar-nav-item-text {
    font-weight: 510;
    font-size: 14px;
    line-height: 1.2;
}

.sidebar-nav-item.active .sidebar-nav-item-text {
    color: #010103;
}

.sidebar-nav-item:not(.active) .sidebar-nav-item-text {
    color: #5c5c5c;
}

/* Repair Info Card */
.repair-info {
    background-color: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 4px;
}

.repair-detail {
    background-color: white;
    border-radius: 12px;
    padding: 16px;
    height: 67px;
}

.repair-number {
    font-weight: bold;
    font-size: 14px;
    color: #010103;
    margin-bottom: 4px;
}

.repair-type {
    font-weight: 510;
    font-size: 12px;
    color: #757678;
}

/* Sidebar Bottom */
.sidebar-bottom {
    /* position: absolute;
    left: 12px;
    bottom: 20px;
    width: 220px; */
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item {
    background-color: white;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.sidebar-item:hover {
    background-color: #f9f9f9;
}

.sidebar-item svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.sidebar-item-text {
    font-weight: 510;
    font-size: 14px;
    color: #5c5c5c;
    line-height: 1.2;
    text-decoration: none;
}

.sidebar-item-text:hover {
    color: #010103;
}

/* Main Content */
.main-content {
    margin-left: 244px;
    /*padding: 40px 320px;*/
    padding: 40px 76px;
    max-width: 1432px;
}
.main-content-labyrinth {
    background-color: #fff;
    padding: 32px;
    border-radius: 32px;
}

.page-title {
    font-weight: bold;
    font-size: 24px;
    color: #010103;
    letter-spacing: 0.72px;
    line-height: 1.2;
    margin-bottom: 36px;
}

/* Toolbar */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.search-box {
    background-color: #eae9ee;
    border-radius: 80px;
    padding: 4px 20px;
    height: 41px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-box svg {
    width: 17px;
    height: 17px;
}

.search-box input {
    border: none;
    background: transparent;
    font-weight: 510;
    font-size: 14px;
    color: #757678;
    outline: none;
    flex: 1;
}

.search-box input::placeholder {
    color: #757678;
}

.add-button {
    background-color: white;
    border-radius: 80px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}

.add-button:hover {
    background-color: #f9f9f9;
}

.add-button svg {
    width: 17px;
    height: 17px;
}

.add-button-text {
    font-weight: 510;
    font-size: 14px;
    color: #010103;
    line-height: 1.2;
}

/* Equipment List */
.equipment-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.equipment-item {
    background-color: white;
    border-radius: 32px;
    height: 89px;
    position: relative;
    padding: 32px;
    display: flex;
    align-items: center;
}

.equipment-repairs {
    font-weight: 510;
    font-size: 12px;
    color: #757678;
    line-height: 1.2;
}

.equipment-repairs span {
    color: #010103;
}

/* Repairs List */
.repairs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 1280px;
}

.repair-item {
    background-color: white;
    border-radius: 32px;
    height: 89px;
    position: relative;
    padding: 32px;
    display: flex;
    align-items: center;
}

.go-button {
    position: absolute;
    right: 24px;
    top: 24px;
    padding: 12px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.go-button:hover {
    background-color: #f9f9f9;
}

.go-button-text {
    font-weight: 510;
    font-size: 14px;
    color: #010103;
    line-height: 1.2;
}

/* Tabs */
.tabs__repair {
    max-width: max-content;
    margin-bottom: 32px !important;
}
.tabs__repair .tab::after {
    display: none;
}
.tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.tab {
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 0.72px;
    line-height: 1.2;
    cursor: pointer;
    position: relative;
    padding-bottom: 8px;
    background: none;
    border: none;
}

.tab.active {
    color: #010103;
}

.tab:not(.active) {
    color: #acaebd;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #010103;
}

/* Table */
.table-container {
    background-color: white;
    border-radius: 24px;
    padding: 24px;
}
.table-container-tex .table-row{
    grid-template-columns: 2fr 1fr 2fr 2fr;
    gap: 5px;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 3fr 1fr;
    padding: 0px 31px 20px 0px;
    border-bottom: 1px solid #e8e8e8;
    font-weight: 510;
    font-size: 12px;
    color: #757678;
}
.table-header div:last-child {
    text-align: end;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 3fr 1fr;
    padding: 20px 0px;
    border-bottom: 1px solid #f4f4f6;
    align-items: center;
}
.table-row > div:last-child {
    text-align: end;
}
.table-row > div:first-child {
    display: flex;
    gap: 20px;
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:hover {
    background-color: #f9f9f9;
}

.assembly-name {
    font-weight: 510;
    font-size: 14px;
    color: #010103;
}
.assembly-name span{
    color: #757678;
}

.assembly-type {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 80px;
    font-weight: 510;
    font-size: 14px;
}

.assembly-type.parts {
    background-color: #F9DDFF;
    color: #9639AA;
}

.assembly-type.assembly {
    background-color: #E5F8F6;
    color: #387973;
}

.assembly-type.rotor {
    background-color: #FFE5CB;
    color: #995212;
}

.report-info {
    font-weight: 510;
    font-size: 12px;
    color: #757678;
}

.report-link {
    color: #010103;
    text-decoration: underline;
    cursor: pointer;
}

.action-button {
    padding: 8px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    background-color: transparent;
    cursor: pointer;
    font-weight: 510;
    font-size: 14px;
    color: #010103;
    transition: all 0.2s;
}

.action-button:hover {
    background-color: #f9f9f9;
}

.action-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Process Styles */
.process-number {
    font-weight: 510;
    font-size: 12px;
    color: #757678;
    margin-bottom: 4px;
}

.process-name {
    font-weight: 510;
    font-size: 14px;
    color: #010103;
}

.status-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 80px;
    font-weight: 510;
    font-size: 14px;
}

.status-badge.completed {
    background-color: #CFFFC5;
    color: #14842D;
}

.status-badge.in-progress {
    background-color: #DDF1FF;
    color: #006793;
}

.status-badge.not-activated {
    background-color: #F4F4F6;
    color: #646470;
}

/* Breadcrumb Items */
.breadcrumb-item {
    background-color: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.part-name {
    font-weight: bold;
    font-size: 12px;
    color: #010103;
}

/* Sidebar for Tech Processes */
.repair-info-tech {
    position: absolute;
    left: 12px;
    top: 54px;
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 40px;
    color: #757678;
}

/* Labyrinth Seal Specific Styles */
.sidebar.full-height {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.sidebar-breadcrumbs {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.current-item {
    background-color: white;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 12px;
    margin: 12px;
}

.current-item-name {
    font-weight: bold;
    font-size: 14px;
    color: #010103;
}

.sidebar-bottom.auto-margin {
    margin-top: auto;
    position: relative;
    left: 0;
    bottom: 0;
    padding: 12px;
    margin-bottom: 122px;
}

.page-header {
    margin-bottom: 32px;
}

.instrument-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    /* background-color: #d4f4e7; */
    border-radius: 8px;
    width: fit-content;
}

.instrument-status svg {
    width: 17px;
    height: 17px;
}

.instrument-status-text {
    font-weight: 510;
    font-size: 14px;
    color: #757678;
}
.main-content-labyrinth .page-header {
    margin-bottom: 28px;
    border-bottom: 1px solid #E8E8E8;

}
.dates-section {
    display: flex;
    gap: 32px;
    margin-bottom: 20px;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #FBFBFB;
    border: 1px solid #E8E8E8;
    border-radius: 8px;

}
.dates-section-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #fff;
    border-radius: 80px;
    border: 1px solid #E8E8E8; 
}

.date-item svg {
    width: 17px;
    height: 17px;
}

.date-item-text {
    font-weight: 510;
    font-size: 14px;
    color: #757678;
}
.date-item-text span {
    color: #010103;
}

.hint-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: white;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 24px;
    width: fit-content;
}

.hint-button svg {
    width: 17px;
    height: 17px;
}

.hint-button-text {
    font-weight: 510;
    font-size: 14px;
    color: #010103;
}

.image-carousel {
    position: relative;
    background-color: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: white;
    border: 1px solid #e8e8e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.carousel-nav:hover {
    background-color: #f9f9f9;
}

.carousel-nav.prev {
    left: 24px;
}

.carousel-nav.next {
    right: 24px;
}

.data-table-wrapper {
    background-color: white;
    /* border-radius: 16px; */
    /* padding: 24px; */
    margin-bottom: 24px;
    overflow-x: auto;
}
.data-table tbody tr.active {
    border-top: 2px solid#9C9C9C;
    border-bottom: 2px solid#9C9C9C;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.info-text {
    font-weight: 510;
    font-size: 14px;
    color: #010103;
    display: flex;
    gap: 8px;
    padding: 12px 20px;
    border: 2px dashed #E8E8E8;
    border-radius: 20px;
    cursor: pointer;
}
.info-subtext {
    font-weight: 510;
    font-size: 14px;
    line-height: 120%;
    text-align: right;
    color: #757678;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    border-bottom: 1px solid #E8E8E8;
}

.data-table thead {
    /* background-color: #f4f4f6; */
}

.data-table th {
    padding: 22px 20px;
    text-align: left;
    font-weight: 510;
    font-size: 14px;
    color: #757678;
    border: 1px solid #E8E8E8;
    
}
.data-table th.double {
    text-align: center;
}
.data-table tbody .double {
    text-align: center;
    padding: 10px 20px;
}

.data-table tbody .double.dark span {
    background-color: #F4F4F6;
}
.data-table td > span {
    padding: 12px;
    background-color: #fff;
    border: 1px solid #E8E8E8;
    border-radius: 80px;
    min-width: 100px;
    display: inline-block;
}
.data-table td > span span {
    color: #010103;
}


.data-table td {
    padding: 22px 20px;
    border-left: 1px solid #f4f4f6;
    border-right: 1px solid #E8E8E8;
}
.data-table tbody tr:nth-child(2n+1) {
    background-color: #FBFBFB;
}

.data-table tr:hover {
    background-color: #FBFBFB;
}

.data-table tbody td {
    font-size: 14px;
    color: #757678;
    font-weight: bold;
}
.data-table td:first-child {
    font-weight: bold;
    color: #010103;
    font-size: 14px;
}

.data-table td {
    color: #757678;
}

.footer-buttons {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
}

.footer-button {
    padding: 17px 32px;
    border-radius: 8px;
    font-weight: 510;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.footer-button.primary {
    background-color: #010103;
    color: white;
}

.footer-button.primary:hover {
    background-color: #2a2a2a;
}

.footer-button.secondary {
    background-color: white;
    color: #010103;
    border: 2px solid #e8e8e8;
}

.footer-button.secondary:hover {
    background-color: #f9f9f9;
}

/* Slider Styles */
.slider-container {
    position: relative;
    background-color: white;
    border-radius: 16px;
    /* padding: 24px; */
    margin-bottom: 32px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 100px;
}

.slider-image {
    position: absolute;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slider-image.active {
    opacity: 1;
}
.slider-image-base {
    width: 100%;
    height: 100%;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: white;
    border: 1px solid #e8e8e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.slider-button:hover {
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slider-button.prev {
    left: 24px;
}

.slider-button.next {
    right: 24px;
}

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #e8e8e8;
    cursor: pointer;
    transition: all 0.2s;
}

.dot:hover {
    background-color: #757678;
}

.dot.active {
    background-color: #010103;
    width: 24px;
    border-radius: 5px;
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    background-color: #f4f4f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 40px;
}
/* .login-tab-content-auto {
    max-width: 401px;
} */
.login-card.login-card-active {
    max-width: 481px;
}

.login-tabs-switch {
    background-color: #eae9ee;
    border-radius: 80px;
    padding: 4px;
    display: flex;
    gap: 2px;
    margin-bottom: 60px;
}

.login-tab-switch {
    padding: 8px 32px;
    height: 33px;
    border-radius: 80px;
    background-color: transparent;
    border: none;
    font-weight: 510;
    font-size: 14px;
    color: #757678;
    cursor: pointer;
    transition: all 0.2s;
}

.login-tab-switch.active {
    background-color: white;
    color: #010103;
}
.login-tab-switch:focus-visible {
    outline: none !important;
}

.login-card {
    background-color: white;
    border-radius: 32px;
    padding: 40px;
    width: 100%;
    max-width: 657px;
    /* min-height: 500px; */
}

.login-tab-content {
    display: none;
}

.login-tab-content.active {
    display: block;
}

.login-title {
    font-weight: bold;
    font-size: 24px;
    color: #010103;
    letter-spacing: 0.72px;
    margin-bottom: 32px;
}

.registration-steps {
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    margin-bottom: 24px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 144px;
    justify-content: center;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 40px;
    border: 1px solid #b5b5b5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
}

.step-number span {
    font-weight: 510;
    font-size: 12px;
    color: white;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number span:not(.inactive) {
    background-color: #010103;
}

.step-number.inactive span {
    background-color: #eae9ee;
    border-color: #eae9ee;
}

.step-item.completed .step-number {
    background-color: #010103;
    border-color: #010103;
}

.step-item.completed .step-number span {
    background-color: #010103;
}

.step-item.completed .step-text {
    color: #010103;
    font-weight: 600;
}

.step-text {
    font-weight: 510;
    font-size: 14px;
    color: #010103;
}

.registration-divider {
    height: 2px;
    background-color: #f4f4f4;
    border-radius: 30px;
    margin-bottom: 24px;
}

.registration-step-title {
    font-weight: bold;
    font-size: 14px;
    color: #010103;
    margin-bottom: 24px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-weight: 510;
    font-size: 14px;
    color: #757678;
}

.form-input {
    height: 54px;
    padding: 4px 28px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-weight: 510;
    font-size: 14px;
    color: #010103;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: #010103;
}

.login-button {
    height: 54px;
    background-color: #010103;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 510;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.login-button:hover {
    background-color: #2a2a2a;
}

.registration-buttons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.registration-buttons .login-button {
    width: auto;
    min-width: 140px;
}

.registration-buttons .login-button.prev-step {
    background-color: #eae9ee;
    color: #010103;
}

.registration-buttons .login-button.prev-step:hover {
    background-color: #d4d4d9;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 32px;
    padding: 40px;
    width: 90%;
    max-width: 481px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-title {
    font-weight: bold;
    font-size: 24px;
    color: #010103;
    letter-spacing: 0.72px;
    margin-bottom: 32px;
}

.modal-image {
    width: 100%;
    aspect-ratio: 401/180;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    margin-bottom: 32px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.upload-button {
    height: 54px;
    border: 2px dashed #e8e8e8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-button:hover {
    background-color: #f9f9f9;
}

.upload-button svg {
    width: 17px;
    height: 17px;
}

.upload-button-text {
    font-weight: 510;
    font-size: 14px;
    color: #010103;
}

.modal-buttons {
    display: flex;
    gap: 16px;
}

.modal-button {
    flex: 1;
    height: 54px;
    border-radius: 8px;
    font-weight: 510;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    padding: 18px;
}

.modal-button.primary {
    background-color: #010103;
    color: white;
}

.modal-button.primary:hover {
    background-color: #2a2a2a;
}

.modal-button.secondary {
    background-color: white;
    color: #010103;
    border: 2px solid #e8e8e8;
}

.modal-button.secondary:hover {
    background-color: #f9f9f9;
}

/* Answer Card Styles */
.answer-container {
    text-align: center;
}
.answer-card {
    background-color: white;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    padding: 16px;
    margin-top: 16px;
    max-width: 389px;
    margin: 0 auto;
    margin-bottom: 8px;
}
.answer-body-spoiler, .answer-body-spoiler-2 {
    margin-top: 16px;
}

.hidden {
    display: none !important;
}
.answer-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8e8e8;
}

.answer-avatar {
    width: 41px;
    height: 41px;
    border-radius: 8px;
    background-color: #afafaf;
    overflow: hidden;
}

.answer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.answer-info {
    flex: 1;
}

.answer-date {
    font-weight: 510;
    font-size: 12px;
    color: #757678;
    margin-bottom: 4px;
}

.answer-author {
    font-weight: 510;
    font-size: 12px;
    color: #757678;
    text-align: right;
}

.answer-actions {
    display: flex;
    gap: 8px;
}

.answer-action-button {
    width: 41px;
    height: 41px;
    border-radius: 8px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.answer-action-button:hover {
    background-color: #f9f9f9;
}

.answer-content {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.answer-content-container {
    display: flex;
    align-items: center;
    gap: 8px;
}
.answer-content-body {
    text-align: start;
}
.answer-part-number {
    font-weight: 510;
    font-size: 12px;
    color: #757678;
    margin-bottom: 4px;
}

.answer-part-number span {
    color: #010103;
}

.answer-note {
    background-color: #f4f4f6;
    border-radius: 8px;
    padding: 8px;
    font-weight: 510;
    font-size: 12px;
    color: #757678;
    text-align: left;
}

.answer-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 16px;
    cursor: pointer;
    max-width: 389px;
    margin: 0 auto;
}

.answer-toggle-text {
    font-weight: 510;
    font-size: 12px;
    color: #757678;
}

.answer-toggle svg {
    width: 14px;
    height: 14px;
}

/* Marker buttons on slider */
.slider-with-markers {
    position: relative;
    margin-top: 20px;
}

.marker-button {
    position: absolute;
    background-color: #CAC4FF;
    color: #444067;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 5;
}
.marker-button.disable {
    background-color: #F3F2FF;
    color: #69658C;
}

.marker-button:hover {
    background-color: #CAC4FF;
    color: #444067;
    /* transform: scale(1.1); */
    max-width: 57px;
}

.marker-button.hidden {
    display: none;
}

.hide-markers-button {
    position: absolute;
    right: -100px;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    /* padding-top: 20px; */
    padding-right: 20px;
    gap: 8px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 5;
}

.hide-markers-text {
    font-weight: 510;
    font-size: 14px;
    color: #757678;
}

.hide-markers-button svg {
    width: 17px;
    height: 17px;
}

.hide-markers-button:hover .hide-markers-text {
    color: #010103;
}

.slider-page .sidebar .mobile-sidebar {
    display: none !important;
    position: absolute;
    top: 50%;
    right: -22px;
    background: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #E8E8E8;
    cursor: pointer;
}
@media screen and (max-width: 1668px) {
    .slider-page {
        .container {
            flex-direction: column;
        }

        .sidebar {
            transform: translateX(-90%);
            transition: transform 0.3s ease-in-out;
            z-index: 99;
        }
        
        .sidebar.sidebar-open {
            transform: translateX(0);
        }
        
        .sidebar .mobile-sidebar {
           display: flex !important;
        }
        
        .sidebar .mobile-sidebar svg {
            transition: transform 0.3s ease-in-out;
        }
        
        .sidebar.sidebar-open .mobile-sidebar svg {
            transform: rotate(180deg);
        }

        .sidebar.full-height {
            height: auto;
            min-height: auto;
        }

        .main-content {
            margin-left: 0;
            width: 1320px;
            padding: 40px 20px;
            margin: 0 auto;
        }
    }
}
/* MacBook Pro 14" (1512x982), MacBook Air 13" (1440x900) */
@media screen and (max-width: 1512px) {
    .main-content {
        padding: 32px 24px;
    }
    
    .equipment-list,
    .repairs-list {
        width: 100%;
    }
    
    /* .slider-wrapper {
        padding: 0 80px;
    } */
}

/* MacBook Air 11" (1366x768), небольшие ноутбуки */
@media screen and (max-width: 1366px) {
    .sidebar {
        width: 220px;
    }
    
    .main-content {
        margin-left: 220px;
        padding: 24px 20px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .equipment-item,
    .repair-item {
        padding: 24px;
        height: 80px;
    }
    
    /* .slider-wrapper {
        padding: 0 60px;
    }
    
    .slider-container {
        height: 400px;
    } */
}
@media screen and (max-width: 1300px) {
    .slider-page .slider-container {
        /*scale: 0.8;*/
    }
    .slider-page {
        .main-content {
            width: 100%;
        }
    }
}

/* Планшетная ориентация и маленькие ноутбуки (1024px и выше) */
@media screen and (max-width: 1280px) {
    .sidebar {
        width: 200px;
    }
    
    .main-content {
        margin-left: 200px;
        padding: 20px 16px;
    }
    
    .company-info,
    .equipment-card,
    .repair-info {
        max-width: 180px;
    }

    
    .sidebar-item,
    .sidebar-nav-item {
        padding: 12px 10px;
    }
    
    .sidebar-item-text,
    .sidebar-nav-item-text {
        font-size: 13px;
    }
    
    .page-title {
        font-size: 18px;
    }
    
    .toolbar {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .search-box {
        width: 100%;
    }
    
    .equipment-item,
    .repair-item {
        padding: 20px 16px;
        height: 72px;
    }
    
    .go-button {
        right: 16px;
        top: 16px;
        padding: 10px 16px;
    }
    
    .go-button-text {
        font-size: 13px;
    }
    
    /* .slider-wrapper {
        padding: 0 40px;
    }
    
    .slider-container {
        height: 350px;
    } */
    
    .slider-button {
        width: 40px;
        height: 40px;
    }
    
    .slider-button.prev {
        left: 16px;
    }
    
    .slider-button.next {
        right: 16px;
    }
    
    .data-table {
        font-size: 11px;
    }
    
    .data-table th,
    .data-table td {
        padding: 16px 12px;
    }
    
    .table-header {
        font-size: 11px;
    }
    
    .table-row {
        padding: 16px 0;
    }
    
    .action-button {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .footer-button {
        padding: 14px 24px;
        font-size: 13px;
    }
    
    .login-card {
        padding: 32px;
        max-width: 560px;
    }
    
    .modal-content {
        padding: 32px;
        max-width: 440px;
    }
    .status-badge {
        font-size: 12px;
    }
}


@media screen and (max-width: 1280px) {
    .marker-button {
        padding: 6px 12px;
        font-size: 11px;
        border-radius: 14px;
    }
    
    .slider-with-markers img {
        max-width: 100%;
    }
}

/* Адаптивность для таблицы данных */
@media screen and (max-width: 1280px) {
    .data-table-wrapper {
        overflow-x: auto;
    }
    
    .data-table {
        min-width: 800px;
    }
}

/* Улучшения для MacBook Pro с вырезом */
@media screen and (max-width: 1512px) {
    .main-content {
        padding-top: 48px;
    }
}
