.loadMoreBtn {
    padding: 4px 13px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(90deg, #ffcb05, #2a75bb);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.loadMoreBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.loadMoreBtn:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.loadMoreBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.toggleDarkModeButton {
    padding: 4px 13px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(90deg, #ffcb05, #2a75bb);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.toggleDarkModeButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.toggleDarkModeButton:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.toggleDarkModeButton:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pokemon_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 17px 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, #ffffff, #f7f7f7);
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 16px;
}

.pokemon_header h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    text-align: left;
}

.dialog_nav {
    display: flex;
    gap: 10px;
    align-items: center;
}

.dialog_nav button {
    padding: 8px 14px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    background: #28292ba3;
    color: white;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.dialog_nav button:hover {
    background: #1f55c7;
    transform: translateY(-1px);
}

.dialog_nav button:active {
    transform: translateY(0px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dialog_nav button:disabled {
    background: #c7c7c7;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: 0.6;
}

.pokemonBanner {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    margin: 0 auto;
    padding-bottom: 24px;
}

.search_container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.homeButton,
.searchBtn {
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background-color: #2f6fed;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
}

.homeButton:hover,
.searchBtn:hover {
    background-color: #1e49a1;
    transform: translateY(-1px);
}

.homeButton:active,
.searchBtn:active {
    transform: scale(0.96);
}

.homeButton::before {
    content: "";
    width: 20px;
    height: 20px;
    background-color: white;

    -webkit-mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 8h-3v9h-5v-6H11v6H6v-9H3l9-8z'/%3E%3C/svg%3E")
        no-repeat center;

    mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l9 8h-3v9h-5v-6H11v6H6v-9H3l9-8z'/%3E%3C/svg%3E")
        no-repeat center;

    -webkit-mask-size: contain;
    mask-size: contain;
}

.searchBtn::before {
    content: "";
    width: 20px;
    height: 20px;
    background-color: white;

    -webkit-mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 105.293 14.293l4.707 4.707 1.414-1.414-4.707-4.707A8 8 0 0010 2z'/%3E%3C/svg%3E")
        no-repeat center;

    mask:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 2a8 8 0 105.293 14.293l4.707 4.707 1.414-1.414-4.707-4.707A8 8 0 0010 2z'/%3E%3C/svg%3E")
        no-repeat center;

    -webkit-mask-size: contain;
    mask-size: contain;
}


#toastContainer {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 6px;
    z-index: 10;
    width: auto;
}

.toast {
    background: #222;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.2s ease;
}

.toast_show {
    opacity: 1;
    transform: translateY(0);
}

.toast_error {
    background: #d9534f;
}
