/* Tab styles */
.download-tab-container {
    display: flex;
    margin-top: 20px;
    margin-bottom: 14px;
    border-bottom: 3px solid #DB1B23;
    position: relative;
}

.download-tab {
    padding: 12px 20px;
    cursor: pointer;
    position: relative;
    text-align: center;
    min-width: 240px;
    border: 3px solid #DB1B23;
    border-bottom: none;
    margin-right: 5px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.download-tab.active {
    background-color: #DB1B23;
    margin-bottom: -1px;
    z-index: 1;
}

.download-tab-text {
    font-size: 16px;
    font-weight: 500;
    color: #DB1B23;
}

.download-tab.active .download-tab-text {
    color: #FFF;
    font-weight: 600;
}

/* SWIR SDK styles */
.download-content-container {
    opacity: 1;
    transition: opacity 0.3s ease;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.swir-container {
    display: flex;
    flex-direction: row;
    align-items: start;
}

.swir-button-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 30px;
}

.swir-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 230px;
    background-color: transparent;
    padding: 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.swir-button:hover {
    background-color: #f5f5f5;
}

.swir-button.selected {
    background-color: #f2f2f2;
    border: 1px solid #e0e0e0;
}

.swir-button-image {
    height: 150px;
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.swir-button-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.swir-button-text-container {
    text-align: center;
}

.swir-button-text-title {
    font-size: 16px;
    font-weight: 600;
    color: #808080;
    margin-bottom: 5px;
    display: block;
}

.swir-button.selected .swir-button-text-title {
    color: #000;
}

.swir-button-text-text {
    font-size: 14px;
    font-weight: 300;
    color: #b3b3b3;
    margin: 0;
    line-height: 1.4;
}

.swir-button.selected .swir-button-text-text {
    color: #666666;
}

.swir-content {
    width: 600px;
    margin-top: 20px;
}

.store-button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.store-button {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.store-button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.store-button img {
    max-width: 250px;
    height: auto;
    display: block;
}

.swir-button-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 75px;
}

.store-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.version-info-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.version-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    justify-content: center;
}

.version-number {
    color: #000;
    font-weight: 400;
    font-size: 14px;
}

@media only screen and (max-width: 768px) {
    .swir-container {
        flex-direction: column;
        align-items: center;
    }

    .swir-button-container {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .swir-content {
        width: 310px;
    }

    .swir-button-content {
        margin-top: 0;
    }

    .swir-button {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        position: relative;
        width: 155px;
        height: 190px;
        background-color: transparent;
        transition: background-color 0.2s;
        cursor: pointer;
        padding: 0;
    }

    .swir-button img {
        height: 80px;
    }

    .download-tab {
        min-width: 120px;
        padding: 8px 12px;
    }

    .download-tab-text {
        font-size: 14px;
    }

    .store-button-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .version-info-container {
        margin-top: 20px;
    }

    .version-info-item {
        font-size: 13px;
    }

    .version-number {
        font-size: 13px;
    }
}