.apk-compare-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.compare-title {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    margin-bottom: 8px;
}

.compare-subtitle {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 24px;
}

.compare-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 19px;
}

.expand-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    
}

.expand-toggle input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    cursor: pointer;
    accent-color: #E4002B;
}

.expand-toggle label {
    font-weight: 400;
    font-size: 14px;
    color: #000000;
    line-height: 20px;
    cursor: pointer;
    user-select: none;
}

.compare-legends {
    display: flex;
    gap: 34px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
}
.legend-label{
    font-weight: 400;
    font-size: 14px;
    color: #000000;
    line-height: 20px;
}

.legend-icon {
   display: flex;
   align-items: center;
   margin-right: 5px;
}

.legend-icon img {
    width: 16px;
    height: 13px;
    object-fit: contain;
}

.legend-icon.check-icon img {
    width: 16px !important;
    height: 13px !important;
}

.legend-icon.partial-icon img {
    width: 16px !important;
    height: 13px !important;
}

.legend-icon.none-icon img {
    width: 8px !important;
    height: 2px !important;
}

.compare-table {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #EDEDED;
}

.compare-header {
    display: flex;
    gap: 16px;
    background: #f9fafb;
    margin-bottom: 16px;
}

.feature-column-header {
    display: flex;
    align-items: center;
    padding-left: 42px;
    width: 408px;
    height: 67px;
    background: #FFFFFF;
    border-radius: 8px;
    box-sizing: border-box;
    font-weight: 500;
    font-size: 20px;
    color: #191919;
    line-height: 28px;
}

.version-header {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 67px;
    background: #FFFFFF;
    border-radius: 8px;
}

.version-header:nth-of-type(3) .version-name {
    color: #CC9667;
}

.version-header:nth-of-type(4) .version-name {
    color: #5145FD;
}


.version-name {
    font-weight: 500;
    font-size: 20px;
    color: #000000;
    line-height: 28px;
}

.compare-body .category:first-child .category-header  .category-status-cell{
    border-radius: 8px 8px 0 0;
}

.compare-body .category:last-child .category-header  .category-status-cell{
    border-radius: 0 0 8px 8px;
}

.category .category-header {
    height: 66px;
}

.category .category-header .category-header-left {
    height: 100%;
    border-top: 1px solid #EDEDED;
}

.category-header {
    display: grid;
    grid-template-columns: 408px repeat(3, 1fr);
    align-items: center;
    gap: 16px;
    height: 66px;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s;
    user-select: none;
}

.category-header:hover {
    background: #f3f4f6;
}

.category-header-left {
    display: flex;
    align-items: center;
    border-right: 1px solid #f3f4f6;
    padding-left: 40px;
}

.category-header-status {
    display: contents;
    gap: 16px;
}

.category-status-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #FFFFFF;
}

.category-status-cell:last-child {
    border-right: none;
}

.category-status-cell .status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-status-cell .status-icon img {
    object-fit: contain;
}

.category-status-cell .status-icon.check img {
    width: 16px !important;
    height: 13px !important;
}

.category-status-cell .status-icon.partial img {
    width: 16px !important;
    height: 13px !important;
}

.category-status-cell .status-icon.none img {
    width: 8px !important;
    height: 2px !important;
}

.category-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 13px;
}

.category-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.category-icon-placeholder {
    width: 32px;
    height: 32px;
    display: block;
}

.category-name {
    font-weight: 500;
    font-size: 18px;
    color: #191919;
    line-height: 25px;
    white-space: nowrap;
    margin-right: 15px;
}

.category-chevron {
    width: 16px;
    height: 16px;
    color: #9ca3af;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-chevron i {
    font-size: 13px;
    transition: transform 0.2s;
    color: #000000;
}
.category-chevron .icon-everse-rotate {
    transform: rotate(-90deg);
}
.category-chevron .icon-rotate {
    transform: rotate(90deg);
}

.category-items {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category-items.expanded {
    max-height: 2000px;
}

.category-items .feature-item:first-child .feature-name{
    border-top: 1px solid #EDEDED;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-name {
    width: 408px;
    height: 66px;
    padding-left: 85px;
    box-sizing: border-box;
    font-weight: 400;
    font-size: 14px;
    color: #000000;
    line-height: 20px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.feature-cell {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 66px;
    background: #FFFFFF;
}

.feature-cell:last-child {
    border-right: none;
}

.feature-cell img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.feature-cell.check img {
    width: 16px !important;
    height: 13px !important;
}

.feature-cell.partial img {
    width: 16px !important;
    height: 13px !important;
}

.feature-cell.none img {
    width: 8px !important;
    height: 2px !important;
}

.feature-cell.text {
    font-weight: 400;
    font-size: 14px;
    color: #000000;
    line-height: 20px;
    text-align: center;
}
