/* CSS for list pages */

.alphabet-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #777;
}

.alphabet-navigation .letter {
    display: inline-block;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    margin: 5px;
    border-radius: 50%;
    background-color: #f0f0f0;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: all 0.2s ease;
}

.alphabet-navigation .letter:hover {
    background-color: #e0e0e0;
}

.alphabet-navigation .letter.active {
    background-color: #222;
    color: white;
}

.alphabet-navigation .letter.disabled {
    background-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}


.list-entries {
    margin-top: 30px;
}

.list-entry {
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    transition: background-color 0.2s ease;
}

.list-entry .name {
    font-weight: bold;
    margin-right: 15px;
    color: #333;
    font-size: 1.1em;
    min-width: 200px;
}

.list-entry .country {
    position: absolute;
    right: 0;
    min-width: 150px;
    text-align: right;
}

.list-entry .country img {
    width: 24px;
    height: 16px;
    margin-right: 8px;
}

.list-entry .country span {
    color: #555;
    font-size: 0.9em;
}

.list-entry .description {
    color: #666;
    flex-grow: 1;
    margin-top: 10px;
    width: 100%;
    line-height: 1.4;
}

/* Pagination styles */
.paginationmenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.pageselector {
    display: flex;
    align-items: center;
}

.pagenumber, .pageelipsis {
    margin: 0 5px;
    padding: 5px 10px;
}

.pagenumber a {
    text-decoration: none;
    color: #007bff;
}

.pagenumber.currentpage {
    background-color: #007bff;
    color: white;
    border-radius: 3px;
}

.previouspage a, .nextpage a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

/* Locked overlay */
.locked-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 30%, rgba(255,255,255,1) 100%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 30px;
}

.locked-overlay-content {
    text-align: center;
}

.shop-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.shop-button:hover {
    background-color: #0056b3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .list-entry {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .list-entry .name,
    .list-entry .country {
        margin-bottom: 10px;
        margin-right: 0;
    }
}