.tt-test-pack-list-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.tt-test-pack-search-container {
    margin-bottom: 20px;
}

.tt-test-pack-search {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px !important;
    font-size: 16px;
    transition: border-color 0.3s;
}

.tt-test-pack-search:focus {
    outline: none;
}

.tt-test-pack-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tt-test-pack-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f7f7f7;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tt-test-pack-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tt-pack-title-wrapper{
    width: 40%;
    flex-grow: 0;
    display: flex;
    align-self: stretch;
    align-items: center;
}

.tt-pack-price-wrapper {
    width: 20%;
    flex-grow: 1;
    align-self: stretch;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.tt-pack-action-wrapper {
    min-width: 40%;
    flex-grow: 1;
    align-self: stretch;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 10px;
}

.tt-test-pack-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.tt-test-pack-title a {
    color: #333;
    text-decoration: none;
}

.tt-test-pack-title a:hover {
    color: #4054b2;
}

.tt-test-code, .tt-test-price {
    color: #666;
}

.tt-test-price {
    font-weight: 600;
}

.tt-regular-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 5px;
}

.tt-sale-price {
    color: #e83e8c;
}

/* Base button styles */
.tt-details-btn, .tt-add-to-cart-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
    text-align: center;
}

/* Default styles for Details button */
.tt-details-btn {
    background-color: #808080;
    color: #fff;
}

.tt-details-btn:hover {
    background-color: #606060;
}

.tt-details-btn:active {
    background-color: #404040;
}

/* Default styles for Add to Cart button */
.tt-add-to-cart-btn {
    background-color: #4054b2;
    color: #fff;
}

.tt-add-to-cart-btn:hover {
    background-color: #2e3d8b;
}

.tt-add-to-cart-btn:active {
    background-color: #1a2566;
}

.tt-add-to-cart-btn:disabled {
    background-color: #99a1cc;
    cursor: not-allowed;
}

.tt-no-results, .tt-no-test-packs {
    padding: 20px;
    text-align: center;
    color: #666;
    background-color: #f9f9f9;
    border-radius: 5px;
}

@media (max-width: 1024px){
    .tt-pack-title-wrapper{
        width: 60%;
    }
    .tt-pack-price-wrapper {
        width: 15%;
    }
    .tt-pack-action-wrapper {
        min-width: 25%;
    }
}
@media (max-width: 850px){
    .tt-pack-title-wrapper{
        width: 50%;
    }
    .tt-pack-price-wrapper {
        width: 20%;
    }
    .tt-pack-action-wrapper {
        min-width: 30%;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .tt-test-pack-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    .tt-pack-title-wrapper{
        width: 100%;
    }
    .tt-pack-price-wrapper {
        width: 30%;
        justify-content: start;
    }
    .tt-pack-action-wrapper {
        min-width: calc(70% - 10px);
    }
}